Accessing relying party entity ID in an attribute resolver definition

Cantor, Scott cantor.2 at osu.edu
Fri Feb 10 11:36:11 EST 2017


On 2/10/17, 11:30 AM, "users on behalf of Wessel, Keith" <users-bounces at shibboleth.net on behalf of kwessel at illinois.edu> wrote:

> The group part is easy. Question is: is the RelyingPartyContext available inside a scripted attribute definition's script so
> that I can access and compare the requesting SP's entityID? If so, how would I get the entityID?

https://wiki.shibboleth.net/confluence/display/IDP30/ScriptedAttributeDefinition

Data Available to Script

A variable named resolutionContext containing the AttributeResolutionContext for the current resolution request.

It's just "resolutionContext.getAttributeRecipientID()"

That's a special case since attribute resolution is a specific use case, you don't have to get the information all the way from the root of the tree.

-- Scott




More information about the users mailing list