Hi,<br><br>I have installed a sample Shib IdP, it is working in general. I am just trying to explore a little more.<br><br>From the IdP metadata, I see this:<br>        &lt;NameIDFormat&gt;urn:mace:shibboleth:1.0:nameIdentifier&lt;/NameIDFormat&gt;<br>

        <br><br>So I assume, if an SP send this AuthnRequest, I am supposed to get an nameIdentifier from Assertion:<br><br><span class="e">&lt;saml2p:AuthnRequest </span><span class="am">AssertionConsumerServiceURL</span>=&quot;<span class="ad">...</span>&quot; <span class="am">Destination</span>=&quot;<span class="ad"><a href="https://localhost/idp/profile/SAML2/Redirect/SSO">https://localhost/idp/profile/SAML2/Redirect/SSO</a></span>&quot; <span class="am">ID</span>=&quot;<span class="ad">_a90ed2b44c1d25860c411e0ab27a9edd</span>&quot; <span class="am">IssueInstant</span>=&quot;<span class="ad">2012-07-31T18:21:28.759Z</span>&quot;        <span class="am">ProtocolBinding</span>=&quot;<span class="ad">urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST</span>&quot; <span class="am">Version</span>=&quot;<span class="ad">2.0</span>&quot; <span class="am">xmlns:saml2p</span>=&quot;<span class="ad">urn:oasis:names:tc:SAML:2.0:protocol</span>&quot;<span class="e">&gt;</span><br>

  <span class="e">&lt;saml2:Issuer </span><span class="am">xmlns:saml2</span>=&quot;<span class="ad">urn:oasis:names:tc:SAML:2.0:assertion</span>&quot;<span class="e">&gt;</span><br>   .....<br>  <span class="e">&lt;/saml2:Issuer</span><span class="e">&gt;</span><br>

  <span class="e">&lt;saml2p:NameIDPolicy </span><span class="am">AllowCreate</span>=&quot;<span class="ad">true</span>&quot; <span class="am">Format</span>=&quot;<span class="ad">urn:mace:shibboleth:1.0:nameIdentifier</span>&quot;/<span class="e">&gt;</span><br>

<span class="e">&lt;/saml2p:AuthnRequest</span><span class="e">&gt;</span><br><br><br>In reality, from Idp-process.log, I see this information:<br><br><br><br>11:22:01.373 - DEBUG [edu.internet2.middleware.shibboleth.idp.profile.AbstractSAMLProfileHandler:465] - Attempting to select name identifier attribute for relying party &#39;...&#39; that requires format &#39;urn:mace:shibboleth:1.0:nameIdentifier&#39;<br>

11:22:01.374 - DEBUG [edu.internet2.middleware.shibboleth.idp.profile.AbstractSAMLProfileHandler:548] - Filtering out potential name identifier attributes which do not support one of the following formats: [urn:mace:shibboleth:1.0:nameIdentifier]<br>

11:22:01.374 - DEBUG [edu.internet2.middleware.shibboleth.idp.profile.AbstractSAMLProfileHandler:567] - Retaining attribute transientId which may be encoded as a name identifier of format urn:mace:shibboleth:1.0:nameIdentifier<br>

11:22:01.374 - DEBUG [edu.internet2.middleware.shibboleth.idp.profile.AbstractSAMLProfileHandler:672] - Selecting attribute to be encoded as a name identifier by encoder of type edu.internet2.middleware.shibboleth.common.attribute.encoding.SAML2NameIDEncoder<br>

11:22:01.374 - DEBUG [edu.internet2.middleware.shibboleth.idp.profile.AbstractSAMLProfileHandler:699] - Selecting the first attribute that can be encoded in to a name identifier<br>11:22:01.374 - DEBUG [edu.internet2.middleware.shibboleth.idp.profile.AbstractSAMLProfileHandler:483] - Name identifier for relying party &#39;...&#39; will be built from attribute &#39;transientId&#39;<br>

11:22:01.374 - DEBUG [edu.internet2.middleware.shibboleth.idp.profile.saml2.AbstractSAML2ProfileHandler:864] - Using attribute &#39;transientId&#39; supporting NameID format &#39;urn:oasis:names:tc:SAML:2.0:nameid-format:transient&#39; to create the NameID for relying party &#39;...&#39;<br>

<br>And in the Assertion, it is actually transient NameID.<br><br>Can you tell me why? Do I need to make any other configuration to be able to get nameIdentifier?<br><br><br>Best,<br clear="all">Yaowen<br>