Retrieve NameID
George Glessner
gglessner at serviceexpress.com
Fri Jun 29 10:17:34 EDT 2018
In my attribute-map.xml there is
<Attribute name="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" id="persistent-id">
<AttributeDecoder xsi:type="NameIDAttributeDecoder" formatter="$NameQualifier!$SPNameQualifier!$Name" defaultQualifiers="true"/>
</Attribute>
Does this not build a HTTP header? I am just looking for a way to obtain the value for persistent-id. I have checked https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPAddAttribute and https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPAttributeAccess to make sure I am attempting to do the right process but when I call Request.servervariables("HTTP_persistent-id") I get nothing.
Thank you
-----Original Message-----
From: users <users-bounces at shibboleth.net> On Behalf Of Rod Widdowson
Sent: Friday, June 29, 2018 9:45 AM
To: 'Shib Users' <users at shibboleth.net>
Subject: RE: Retrieve NameID
> The NameID is set as the username from our IDP. I am able to access it on our php side with simpleSAMLphp with
get_object_vars($this-
> >session->getAuthData('saml:sp:NameID'))['value'] since it is passed over. I would like to be able to do something similar with
Shibboleth
> if possible so I can set a variable to be equal to the result.
Shibboleth SP -> it's the same as SSP
Shibboleth IdP -> In a view? Check out [1]
-> At other times (like in attribute resolution or filtering) - it in the documentation
[1] https://wiki.shibboleth.net/confluence/display/IDP30/VelocityVariables
--
For Consortium Member technical support, see https://wiki.shibboleth.net/confluence/x/coFAAg
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list