Spring Security登录用户

时间:2011-08-27 20:56:43

标签: spring-security

我正在使用Spring Security,每次登录用户访问特定页面时我都需要重定向到另一个页面。

我尝试测试SPRING_SECURITY_LAST_USERNAME变量并使用response.sendRedirect(“newpage.htm”)进行重定向,但这并不能确保用户已登录。我该怎么做?

0 个答案:

没有答案
相关问题