开发者

Spring Security logged user

开发者 https://www.devze.com 2023-03-31 10:16 出处:网络
I\'m using Spring Security and I need to r开发者_运维技巧edirect to another page each time a logged user accesses a particular page.

I'm using Spring Security and I need to r开发者_运维技巧edirect to another page each time a logged user accesses a particular page.

I tried testing SPRING_SECURITY_LAST_USERNAME variable and using response.sendRedirect("newpage.htm") to redirect, but this does not ensure that the user is logged in. how could i do this?

0

精彩评论

暂无评论...
验证码 换一张
取 消