How to pass Sp entityId from Idp to Shibboleth Sp?
peter.schober at univie.ac.at
Tue Dec 15 06:29:28 EST 2015
* Abdul Waheed <waheedtechblog at gmail.com> [2015-12-15 10:57]:
> > > one query to fetch one column from db based on entityId like
> > > Select * from TABLE where entityId="ENTITYID_OF_SHIB", So i
> > > don't know how to get ENTITYID_OF_SHIB over here?
> > https://wiki.shibboleth.net/confluence/display/IDP30/QueryTemplate
> $resolutionContext.principal returning me null value. I am using JDK 1.8
> and Idp 2.4
If you're still using the old 2.4 software you'll also need to consult
the old documentation:
$requestContext.getPeerEntityId() might be what you're after.
> Thanks,Now I am able to fetch Shib EntityId as header but not sure
> how to fetch SP entityId.? Is there any way to map SAML audience
> atttibute in attribute-map.xml file ?
Unless we can convince you that there are easier methods to achieve
whatever it is you're ultimately (not literally) trying to, just stick
it into a SAML Attribute and pull it out in the SP the same way as
you've done for "uid".
More information about the users