Announcement Announcement Module
Collapse
No announcement yet.
Configuring custom LDAP UserDetailsContextMapper Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment


    • #3
      Thank you Luke

      Comment

      Working...
      X