Java Google应用程序引擎Spring安全登录失败问题
我正在谷歌应用程序引擎中使用Spring安全模块 如果我成功登录(使用正确的凭据),那么它将成功重定向到主页 如果登录失败一次,但凭据不正确,则即使使用正确的凭据,第二次尝试也不会将我重定向到主页,它将保留在错误登录页面中 Security-Context.xml的一部分Java Google应用程序引擎Spring安全登录失败问题,java,google-app-engine,spring-security,Java,Google App Engine,Spring Security,我正在谷歌应用程序引擎中使用Spring安全模块 如果我成功登录(使用正确的凭据),那么它将成功重定向到主页 如果登录失败一次,但凭据不正确,则即使使用正确的凭据,第二次尝试也不会将我重定向到主页,它将保留在错误登录页面中 Security-Context.xml的一部分 <http auto-config='true'> <intercept-url pattern="/css/**" filters="none"/> <intercept-url
<http auto-config='true'>
<intercept-url pattern="/css/**" filters="none"/>
<intercept-url pattern="/images/**" filters="none"/>
<intercept-url pattern="/login.jsp*" filters="none"/>
<intercept-url pattern="/**" access="ROLE_USER" />
<form-login login-page='/login.jsp' authentication-failure-url="/login.jsp?login_error=1" default-target-url="/"/>
<session-management invalid-session-url="/login.jsp" />
<logout logout-success-url="/login.jsp"/>
</http>
<authentication-manager>
<authentication-provider>
<user-service>
<user name="guest1" password="guest1" authorities="ROLE_USER" />
<user name="guest2" password="guest2" authorities="ROLE_USER" />
</user-service>
</authentication-provider>
</authentication-manager>
访问的两个凭据是guest1、guest1和guest2、guest
谢谢,
Ramesh.V这个问题是由于spring版本3.0.6.RELEASE造成的,我改为3.0.5.RELEASE解决了我的问题
谢谢您可以启用调试日志记录并查看Spring的说法吗?