<div dir="ltr"><div>I'm having a problem getting my IdP to provide the correct attributes to a SP (<a href="http://maps.arcgis.com">maps.arcgis.com</a>)</div><div><br></div><div>I've configured my IdP to release the userPrincipalName </div>
<div><span class="" style="white-space:pre">        </span></div><div><span class="" style="white-space:pre">        </span><resolver:AttributeDefinition xsi:type="ad:Simple" id="userPrincipalName" sourceAttributeID="userPrincipalName"></div>
<div> <resolver:Dependency ref="myLDAP" /></div><div> <resolver:AttributeEncoder xsi:type="SAML2StringNameID" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"</div><div>
nameFormat="urn:oasis:names:tc:SAML:2.0:nameid-format:unspecified" /></div><div> </resolver:AttributeDefinition></div><div><span class="" style="white-space:pre">        </span></div><div>and, by default, the transientId is released as well:</div>
<div><br></div><div> <resolver:AttributeDefinition id="transientId" xsi:type="ad:TransientId"></div><div> <resolver:AttributeEncoder xsi:type="enc:SAML1StringNameIdentifier" nameFormat="urn:mace:shibboleth:1.0:nameIdentifier" /></div>
<div> <resolver:AttributeEncoder xsi:type="enc:SAML2StringNameID" nameFormat="urn:oasis:names:tc:SAML:2.0:nameid-format:transient" /></div><div> </resolver:AttributeDefinition></div>
<div><br></div><div><span class="" style="white-space:pre">        </span></div><div>Configured in this manner, authentication occurs without a problem. However, the site uses the transientId as the username. Obviously, this is a problem because the work that a given user does is not available to him/her on subsequent logins.</div>
<div><br></div><div>If I disable the release of the transientId by applying the following Attribute Rule to this site's Attribute Filter Policy</div><div><span class="" style="white-space:pre">                </span></div><div><span class="" style="white-space:pre">                </span><afp:AttributeRule attributeID="transientId"></div>
<div> <afp:DenyValueRule xsi:type="basic:ANY"/></div><div> </afp:AttributeRule></div><div><span class="" style="white-space:pre">                </span></div><div>authentication does not occur and I'm presented with the error "Unable to login using Idp 'NAME_ID' not found in SAML response".</div>
<div><br></div><div>Is there any way I can create an attribute like the transientId that will include 'NAME_ID' (not sure what that is) that I can then pass to the SP with a consistent, easily recognizable value? Or am I approaching this in the wrong manner?</div>
<div><br></div><div>Thanks,</div><div>Mike</div></div>