【发布时间】:2011-09-18 20:32:30
【问题描述】:
我正在升级旧版 Grails 应用程序,并将 acegi 插件从 0.4 升级到 0.5.2。当我尝试登录应用程序时,我收到一个 BadCredentialsException:“用户不存在”。
用户肯定存在于数据库中,并且凭据肯定是正确的。我对 acegi 插件了解不多,但一直在阅读,据我所知,不应该有任何升级问题。我也在同时将 Grails 从 1.0.3 升级到 1.3.7,所以这可能与此有关。还有其他想法吗?
谢谢。
org.springframework.security.event.authentication.AuthenticationFailureBadCredentialsEvent[source=org.springframework.security.providers.UsernamePasswordAuthenticationToken@9a501e93: Principal: bwalsh@pps.com; Password: [PROTECTED]; Authenticated: false; Details: org.springframework.security.ui.WebAuthenticationDetails@380f4: RemoteIpAddress: 127.0.0.1; SessionId: 915D5CDB8F5A0AE07EC13F435FA66690; Not granted any authorities]
【问题讨论】: