IDP extension (JAVA) - get user attributes

Cantor, Scott cantor.2 at osu.edu
Tue Feb 2 19:03:47 EST 2016


Forgot link...

[1] https://wiki.shibboleth.net/confluence/display/SHIB2/ResolverScriptAttributeDefinition

-- Scott





On 2/2/16, 6:59 PM, "users on behalf of Cantor, Scott" <users-bounces at shibboleth.net on behalf of cantor.2 at osu.edu> wrote:

>On 2/2/16, 3:11 PM, "Yi Yang" <yyangjohnny at gmail.com> wrote:
>
>
>
>>How to get the user's principals, attributes and sp in the Script Attribute Definition?
>
>The attributes are in the resolver itself. If you need to base the script on something, you include it as a dependency of the script attribute definition and access them in the script.
>
>The documentation [1] includes links to the Javadocs of the objects available to the script, and the SP identity is somewhere buried in it, I don't remember where off hand, I'm sure somebody else does.
>
>I don't know what you're trying to get out of "the principals", nothing we ship would populate them with anything useful. The user's name is in requestContext.principalName


More information about the users mailing list