开发者

Spring Security logged user

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜