简体   繁体   中英

Grails - Spring security core and spring security ui plugin inconsistency- unable to login with a newly created user

I m using spring security core plugin 1.2.7.2 and spring security ui 0.2 versions for my application.

I couldn't log on using the credentials I created. The new user is in the database. I looked around I read about double encryption password issues going on between core and ui plugin. The issue is still persisting. I got it worked by commenting the beforeInsert/beforeUpdate methods in the User Domain class. I was wondering if the issue is fixed in the new version?

Is there a different workaround for this? Please advice

Thanks much

在最新版本(0.2)中grails.plugins.springsecurity.ui.encodePassword设置-请参阅文档第10部分的“密码加密”部分中的grails.plugins.springsecurity.ui.encodePassword设置: http : grails.plugins.springsecurity.ui.encodePassword / grails-spring-security-ui / docs / manual /

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM