Attribute Lookup in Extension
Cantor, Scott
cantor.2 at osu.edu
Sun Sep 16 18:36:23 EDT 2018
> Is it possible to extract the value of the 'memberOf' attribute if the
> DataConnector to LDAP, and the AttributeDefinition for 'memberOf' are in
> attribute-resolver.xml? i.e. I don't have to build a separate LDAP connection
> and 'memberOf' ldap filter lookup in the extension.
That depends when/where/what you're doing. An interceptor (the post-login sort) has access to all the resolved attrbutes, it runs afterward. That's covered in the wiki.
> If the above is available, are there any example code to refer to? The number of
> moving parts for me to learn on writing an extension is large at this stage,
> anything to grasp on will be a big help.
The interceptors that already exist are the only examples and several of them are so small that it would be of no value to produce any example of any less complexity.
The documentation that exists is exactly what exists, no more or less.
https://wiki.shibboleth.net/confluence/display/IDP30/ProfileInterceptConfiguration
https://wiki.shibboleth.net/confluence/display/IDP30/ProfileHandling
-- Scott
More information about the users
mailing list