简体   繁体   中英

Issue upgrading spring plugin in grails

I am upgrading my application, i was using:

compile ":spring-security-core:1.2.7"
compile ":spring-security-ldap:1.0.6"

and upgraded it to

compile ":spring-security-core:2.0-RC5"
compile ":spring-security-ldap:2.0-RC2"

After making changes related to the packages, i am not able to see the login page. It keep me redirecting to /login/auth . What more needs to be done?

确保您的登录页面不需要身份验证-使用静态规则/注释或默认情况下在config.groovy中启用对所有页面的访问:

grails.plugin.springsecurity.rejectIfNoRule = false

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