您的位置:首页 > 移动开发

[spring security] - LDAP configuration - Bind approach

2014-03-12 10:56 92 查看
Springsecurity LDAP authentication sample XML.

1. Implements UserDetailsContextMapper

2. Implements LdapAuthoritiesPopulator

3. UserDN pattern

According to practical how do you manage user information on LDAP server.
For example, uid={0},ou=Users

4. User attributes

Attributes will return to application from LDAP server after success authentication. If you don't specify LDAP server will return all the attributes of this authenticated user.
For example, uid, cn and sn etc.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: