Results 1 to 3 of 3

Thread: Configuring custom LDAP UserDetailsContextMapper

  1. #1

    Default 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>

  2. #2
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    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.

  3. #3

    Default

    Thank you Luke

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •