开发者

LDAP-authentication and local roles don't work

authentication via LDAP works like a charm, however, when I assign a role to a user and secure a page in the requestmap (like /books/show/** and ROLE_USER) this only works for local-only users, not for users authent开发者_高级运维icated via LDAP. (IS_AUTHENTICATED_FULLY works, though)

How can I fix that?


Head, meet Wall.

Just add ldapRetrieveDatabaseRoles = true to your SecurityConfig.groovy – that's all.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜