<div dir="ltr">I'm having a problem in IdP v3 (disabling all, I think, legacy v2 support) custom NameID generation:  <div><br></div><div>(1) I've configured the selection process for the NameID by adding the following line to the metadata:</div><div><br></div><div> <NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat><br></div><div><br></div><div>(2) Uncommented the following in saml-nameid.xml file</div><div><br></div><div><div>    <util:list id="shibboleth.SAML2NameIDGenerators"></div><div><br></div><div>        <ref bean="shibboleth.SAML2TransientGenerator" /></div><div><br></div><div>        <!-- Uncommenting this bean requires configuration in saml-nameid.properties. --></div><div>        <!--</div><div>        <ref bean="shibboleth.SAML2PersistentGenerator" /></div><div>        --></div><div><br></div><div><br></div><div>        <bean parent="shibboleth.SAML2AttributeSourcedGenerator"</div><div>            p:format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"</div><div>            p:attributeSourceIds="#{ {'mail'} }" /></div><div><br></div><div><br></div><div>    </util:list></div></div><div><br></div><div>Also, the source attribute 'mail' is correctly resolved.</div><div><br></div><div>(3) And released the "emailAddress" attribute from the attribute-filter.xml file</div><div><br></div><div>The log file shows the following:</div><div><br></div><div><div>2016-03-04 13:21:56,634 - DEBUG [org.opensaml.saml.common.profile.impl.ChainingNameIdentifierGenerator:106] - Trying to generate identifier with Format urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</div><div>2016-03-04 13:21:56,635 - DEBUG [org.opensaml.saml.common.profile.impl.ChainingNameIdentifierGenerator:110] - No generators installed for Format urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress, trying default/fallback method</div><div>2016-03-04 13:21:56,635 - DEBUG [net.shibboleth.idp.saml.nameid.impl.LegacyNameIdentifierGenerator:127] - No AttributeContext or resolved IdPAttributes found, nothing to do</div><div>2016-03-04 13:21:56,635 - DEBUG [org.opensaml.saml.saml2.profile.impl.AddNameIDToSubjects:341] - Profile Action AddNameIDToSubjects: Unable to generate a NameID, leaving empty</div></div><div><br></div><div>I thought that by uncommenting the relevant section in saml-nameid.xml that I was installing the appropriate generator.  Am I incorrect?</div><div><br></div><div>As an aside, I still have the following lines uncommented in saml-nameid.properties:</div><div><br></div><div><div>idp.nameid.saml2.legacyGenerator= shibboleth.LegacySAML2NameIDGenerator</div><div>idp.nameid.saml1.legacyGenerator= shibboleth.LegacySAML1NameIdentifierGenerator</div></div><div><br></div><div>Would this cause this problem?</div><div><br></div><div>Thanks,</div><div>Mike</div><div><br></div></div>