Spring security switch to Ldap authentication and database authorities

后端 未结 4 435
灰色年华
灰色年华 2020-12-08 01:34

I implemented database authentication for my web page and web service. It work well for both, now I have to add Ldap authentication. I have to authenticate through remote L

4条回答
  •  感情败类
    2020-12-08 01:49

    For anyone using grails it is much simpler. Simply add this to your config:

    grails: plugin: springsecurity: ldap: authorities: retrieveDatabaseRoles: true

提交回复
热议问题