-
May 12th, 2008, 09:56 AM
#1
Configuring custom LDAP UserDetailsContextMapper
How to configure (inject) custom LDAP UserDetailsContextMapper if using namespace configuration, i.e.:
<ldap-authentication-provider user-dn-pattern="uid={0},ou=people" group-search-base="ou=groups" group-role-attribute="cn" role-prefix="ROLE_" group-search-filter="member={0}">
</ldap-authentication-provider>
-
May 12th, 2008, 11:29 AM
#2
You can't (at least not without using a BeanPostProcessor or something). The alternative is to use a traditional bean configuration. The LDAP sample application contains both namespace and bean versions so you can use this as a reference.
-
May 13th, 2008, 09:52 AM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules