Speaking from memory, I don’t think the ldaptive syntactic sugar supports 
configuration of pluggable entry resolvers; you may have to fall back to the 
same sort of config you had before.

-- 
Misagh

From: Melissa Floyd <[email protected]>
Reply: [email protected] <[email protected]>
Date: January 25, 2017 at 8:41:29 AM
To: CAS Community <[email protected]>
Subject:  [cas-user] Recursive LDAP Searching in 4.2 Compared to 4.0  

We are attempting to migrate to 4.2 from 4.0.  In 4.0, we were able to 
recursively retrieve one flat list of user's groups, including ancestor groups, 
with the following configuration.  I was wondering how we may be able to 
achieve a similar result in 4.2 with the <ldaptive:authenticator> 
configuration.  Any suggestions would be helpful.  Thanks!

<bean id="authenticator" class="org.ldaptive.auth.Authenticator"
  c:resolver-ref="dnResolver"
  c:handler-ref="authHandler">
  <!-- Add the RecursiveEntryHandler to flatten the group hierarchy and
      include ancestor groups in the MemberOf response values. -->
  <property name="entryResolver">
    <bean class="org.ldaptive.auth.PooledSearchEntryResolver"
      p:connectionFactory-ref="searchPooledLdapConnectionFactory">
      <property name="searchEntryHandlers">
        <bean class="org.ldaptive.handler.RecursiveEntryHandler"
          p:searchAttribute="memberOf"
          p:mergeAttributes="memberOf"/>
      </property>
    </bean>
  </property>
</bean>



--
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
---
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/9ef4ca07-14a7-451b-bac7-8277dd08156d%40apereo.org.

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/etPan.58890f64.249b888f.f2b8%40unicon.net.

Reply via email to