SP's entityId available to script?

Stefano Zanmarchi zanmarchi at gmail.com
Thu Sep 15 09:46:46 BST 2011


Thank you Scott,
I have checked the AttributeRequestContext interface and found no method,
the most obvious seems the ProfileRequestContext, but
   logger.info(requestContext.getRelyingPartyConfiguration().getRelyingPartyId());
just outputs "default".
(whereas getProviderId() correctly returns my IdP's entityId, not very
useful for my needs)


On Wed, Sep 14, 2011 at 8:46 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:
> On 9/14/11 10:52 AM, "Stefano Zanmarchi" <zanmarchi at gmail.com> wrote:
>>I'd like to write a script to produce an attribute value dependent on
>>the SP that has initiated the session.
>>Is it possible to have the SP's entityId available to a script attribute?
>
> Yes, the attribute resolution context has the identity in one of its
> properties. It's either the PeerEntityId or RelyingPartyId, I can't recall
> which.
>
> -- Scott
>
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
>


More information about the users mailing list