LDAP returnAttributes with springResources

Yeargan, Yancey Yancey.Yeargan at untsystem.edu
Sat Jul 2 01:07:18 EDT 2016


Ahh! I see it now! I failed to see that SearchExecutor extends SearchRequest. I now see how to specify binary attributes too. Exactly what I needed.

Thank you!


On Jul 1, 2016, at 10:12 PM, Daniel Fisher <dfisher at vt.edu<mailto:dfisher at vt.edu>> wrote:

On Fri, Jul 1, 2016 at 7:42 PM, Yeargan, Yancey <Yancey.Yeargan at untsystem.edu<mailto:Yancey.Yeargan at untsystem.edu>> wrote:
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?

Return attributes are set on the searchExecutor. I've updated the example to include that property.

--Daniel fisher

--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net<mailto:users-unsubscribe at shibboleth.net>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160702/99858f27/attachment-0001.html>


More information about the users mailing list