<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">We have an SP that claims to need an emailAddress NameIDFormat. We can currently achieve this with an entry in our saml-nameid.xml conf file like:</div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr">        <bean parent="shibboleth.SAML2AttributeSourcedGenerator"</div><div dir="ltr">            p:format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"</div><div dir="ltr">            p:attributeSourceIds="#{ {'attrEmail_real'} }" /></div><div dir="ltr"><br></div><div>However, for this SP now claims that for a separate instance of their SP, they need users with IDs that do not share the same domain name. We may be able to synthesize a new email-like attribute, say, attrEmail_2, but is there a way to get use it as an alternate emailAddress NameIDFormat for this just this SP? E.g, something like</div><div><br></div><div><div>        <bean parent="shibboleth.SAML2AttributeSourcedGenerator"</div><div>            p:format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"</div><div>            p:attributeSourceIds="#{ {'attrEmail_synth'} }" /></div></div><div><br></div><div>It seems like the nameid encoder(?) only pays attention to the format though, and not the attributeSourceId, and thus select one or other?</div><div><br></div><div>Perhaps some approach using an activation condition, or other suggestions or advice?</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Baron Fujimoto <<a href="mailto:baron@hawaii.edu" target="_blank">baron@hawaii.edu</a>> :: UH Information Technology Services<br>minutas cantorum, minutas balorum, minutas carboratum desendus pantorum</div></div></div></div></div></div></div></div>