Access the CAS service name in the attribute resolver

O'Dowd, Josh Josh.O'Dowd at mso.umt.edu
Tue Feb 14 14:14:56 EST 2017


If you are scripting in the attribute-resolver.xml, this has worked for us:
relyingPartyId = profileContext.getSubcontext("net.shibboleth.idp.profile.context.RelyingPartyContext").getRelyingPartyId();

... where the relyingPartyId() is equivalent to the CAS service name

FWIW
-Josh O

-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Michael A Grady
Sent: Tuesday, February 14, 2017 12:00 PM
To: Shib Users <users at shibboleth.net>
Subject: Access the CAS service name in the attribute resolver

How do I access the CAS service name (it's "entityID-like" equivalent) in the attribute resolver? I was kind of hoping it would just be in the resolutionContext.getAttributeRecipientID(), but for a CAS service, that doesn't appear to be the case.

--
Michael A. Grady
IAM Architect, Unicon, Inc.



-- 
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list