LDAP returnAttributes with springResources

Yeargan, Yancey Yancey.Yeargan at untsystem.edu
Fri Jul 1 19:42:17 EDT 2016


I am starting a migration from IdP V2 to V3 and decided to try using a Spring resource file to configure the LDAP data connector using the example provided from this page.
https://wiki.shibboleth.net/confluence/display/IDP30/LDAPConnector

I succeeded in connecting to the LDAP service and retrieving attributes, but now have a need to specify specific attribute names to retrieve (the <ReturnAttributes> from V2). I have been looking at the wiki and the JavaDocs and the ldaptive docs for hours, but have so far not been able to work out how this is done with Spring. Does anyone have an example of how to provide the names of the LDAP attributes to return when using a Spring resource file?



More information about the users mailing list