Grails Acegi升级-BadCredentialsException

Grails Acegi升级-BadCredentialsException,grails,spring-security,Grails,Spring Security,我正在升级一个遗留的Grails应用程序,并将acegi插件从0.4升级到0.5.2。当我尝试登录到应用程序时,我得到一个BadCredentialsException:“用户不存在” 数据库中肯定存在该用户,并且凭据绝对正确。我对acegi插件了解不多,但一直在阅读,据我所知,不应该有任何升级问题。我还同时将Grails从1.0.3升级到1.3.7,因此这可能与。还有其他想法吗 谢谢 org.springframework.security.event.authentication.Authe

我正在升级一个遗留的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]

BadCredentialsException表示密码检查失败。看起来密码散列算法配置错误-是否正确设置了
算法
属性

默认值是

algorithm = 'SHA'
但是,如果使用不同的方法,则应该在
SecurityConfig.groovy
中重写它

顺便说一句-您应该升级到:)