<div dir="ltr"><div>I'm trying to get set up with an SP and have run into an issue I've not seen before in the logs:</div><div><br></div><div><div>2018-11-15 13:45:16,955 - WARN [org.opensaml.saml.saml2.profile.impl.AddNameIDToSubjects:337] - Profile Action AddNameIDToSubjects: Request specified use of an unsupportable identifier format: urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</div><div>2018-11-15 13:45:16,956 - WARN [org.opensaml.profile.action.impl.LogEvent:105] - A non-proceed event occurred while processing the request: InvalidNameIDPolicy</div></div><div><br></div><div>I came across this thread where this issue gets discussed, but haven't been able to resolve the issue with the info there or the linked NameIDGenerationConfiguration resource page: <a href="http://shibboleth.1660669.n2.nabble.com/Making-urn-oasis-names-tc-SAML-2-0-nameid-format-unspecified-a-supportable-identifier-format-tp7616120p7616127.html" target="_blank">http://shibboleth.1660669.n2.nabble.com/Making-urn-oasis-names-tc-SAML-2-0-nameid-format-unspecified-a-supportable-identifier-format-tp7616120p7616127.html</a></div><div><br></div><div>First, we are a v3 IdP, and started with v3 - no upgrade happened. </div><div><br></div><div>So far, I've made sure that my saml-nameid.xml is configured as follows:</div><div><br></div><div><div><i>    <!-- SAML 2 NameID Generation --></i></div><div><i>    <util:list id="shibboleth.SAML2NameIDGenerators"></i></div><div><i>        <ref bean="shibboleth.SAML2TransientGenerator" /></i></div></div><div><div><i>        <bean parent="shibboleth.SAML2AttributeSourcedGenerator"</i></div><div><i>            p:format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"</i></div><div><i>            p:attributeSourceIds="#{ {'mail'} }" /></i></div></div><div><i>    </util:list><br></i></div><div><i><br></i></div><div><i>    <!-- SAML 1 NameIdentifier Generation --></i></div><div><i>    <util:list id="shibboleth.SAML1NameIdentifierGenerators"></i></div><div><i>        <ref bean="shibboleth.SAML1TransientGenerator" /></i></div><div><div><i>        <bean parent="shibboleth.SAML1AttributeSourcedGenerator"</i></div><div><i>            p:format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"</i></div><div><i>            p:attributeSourceIds="#{ {'mail'} }" /></i></div><div><i>    </util:list></i></div></div><div><br></div><div>I haven't changed anything in the saml-nameid.properties file, as the comment in the saml-nameid.xml file implies that is only needed for the Persistent generator (and I'm intending to use Transient).</div><div><br></div><div>The attribute-resolver.xml has the following definition for mail:</div><div><div><i>    <AttributeDefinition id="mail" xsi:type="Simple" sourceAttributeID="mail"></i></div><div><i>        <Dependency ref="myLDAP" /></i></div><div><i>        <AttributeEncoder xsi:type="SAML1String" name="urn:mace:dir:attribute-def:mail" encodeType="false" /></i></div><div><i>        <AttributeEncoder xsi:type="SAML2String" name="urn:oid:0.9.2342.19200300.100.1.3" friendlyName="mail" encodeType="false" /></i></div><div><i>    </AttributeDefinition></i></div></div><div><br></div><div>I'm assuming that the saml-nameid.xml is pulling from here when referencing mail in the p:attributeSourceIds bean property, and that the p:format property is what should be presenting it as urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress, but obviously somethings not wired/configured right.</div><div><br></div><div>Finally, I do have an attributeFilterPolicy releasing "mail" to the requester in attribute-filter.xml.</div><div><br></div><div>Unlike the OP on the above thread, I don't have control over the SP, so I'm stuck trying to make my IdP fit their request.</div><div><br></div><div>Thanks for any suggestions you can provide.</div><div><br></div><div>-Mike</div></div>