配置spring secutiry出现的问题

奥神Well 发布于 2014/07/04 11:12
阅读 216
收藏 0

配置好spring security,对用户授权 ROLE_ADMIN,输入正确的用户名和密码,报错:

11:10:06,449DEBUG UsernamePasswordAuthenticationFilter:319 - Authentication request failed: org.springframework.security.authentication.BadCredentialsException: Bad credentials
11:10:06,449DEBUG UsernamePasswordAuthenticationFilter:320 - Updated SecurityContextHolder to contain null Authentication
11:10:06,449DEBUG UsernamePasswordAuthenticationFilter:321 - Delegating to authentication failure handlerorg.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler@e8848c
11:10:06,465DEBUG SimpleUrlAuthenticationFailureHandler:56 - Redirecting to /login.jsp?error=true
11:10:06,465DEBUG DefaultRedirectStrategy:34 - Redirecting to '/login.jsp?error=true'

加载中
返回顶部
顶部