David Bantz
2014-08-28 21:48:18 UTC
Attempting to build a NameID in the SAML subject to meet a vendor requirement.
The following uses and inserts the right identifier, but despite being based on ePPN,
appears in the SAML assertion subject un-scoped: If ePPN is george-TNFzNwJ3FIT/***@public.gmane.org, this
uses the NameID of george in subject portion of the SAML. To meet vendor requirement,
I need the scoped value george-TNFzNwJ3FIRfmgfxC/sS/***@public.gmane.org Is there a simple way to do that?
<!-- Okta requires something like ePPN in the SAML Subject -->
<resolver:AttributeDefinition
id="oktanameid"
xsi:type="Simple"
xmlns="urn:mace:shibboleth:2.0:resolver:ad"
sourceAttributeID="eduPersonPrincipalName"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:resolver="urn:mace:shibboleth:2.0:resolver">
<resolver:Dependency ref="myLDAP" />
<resolver:Dependency ref="eduPersonPrincipalName" />
<resolver:AttributeEncoder
xsi:type="SAML2StringNameID"
xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
nameFormat="urn:oasis:names:tc:SAML:2.0:nameid-format:transient" />
<resolver:AttributeEncoder
xsi:type="SAML2String"
xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6"
friendlyName="username" />
</resolver:AttributeDefinition>
David Bantz
U Alaska
The following uses and inserts the right identifier, but despite being based on ePPN,
appears in the SAML assertion subject un-scoped: If ePPN is george-TNFzNwJ3FIT/***@public.gmane.org, this
uses the NameID of george in subject portion of the SAML. To meet vendor requirement,
I need the scoped value george-TNFzNwJ3FIRfmgfxC/sS/***@public.gmane.org Is there a simple way to do that?
<!-- Okta requires something like ePPN in the SAML Subject -->
<resolver:AttributeDefinition
id="oktanameid"
xsi:type="Simple"
xmlns="urn:mace:shibboleth:2.0:resolver:ad"
sourceAttributeID="eduPersonPrincipalName"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:resolver="urn:mace:shibboleth:2.0:resolver">
<resolver:Dependency ref="myLDAP" />
<resolver:Dependency ref="eduPersonPrincipalName" />
<resolver:AttributeEncoder
xsi:type="SAML2StringNameID"
xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
nameFormat="urn:oasis:names:tc:SAML:2.0:nameid-format:transient" />
<resolver:AttributeEncoder
xsi:type="SAML2String"
xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6"
friendlyName="username" />
</resolver:AttributeDefinition>
David Bantz
U Alaska