<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hello,<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">We are running Idp version 3.1.1. We need to support two SPs with different nameId requirements (and different formats). Here is what we have for the following config files. We need the <i>systemtwonameid</i> to come through in the <subject> section only for the second SP instead of the mail attribute. Looks like we are missing something and are unable to get it to work. Any pointers on how to get this to work will be appreciated.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><i>saml-nameid.xml<br>...<br> <util:list id="shibboleth.SAML2NameIDGenerators"><br> <br> <ref bean="shibboleth.SAML2TransientGenerator" /><br> <br> <bean parent="shibboleth.SAML2AttributeSourcedGenerator"<br> p:format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"<br> p:attributeSourceIds="#{ {'mail'} }" /><br><br> <bean parent="shibboleth.SAML2AttributeSourcedGenerator"<br> p:format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"<br> p:attributeSourceIds="#{ {'systemtwonameid'} }" > <br> <br> <property name="activationCondition"><br> <bean parent="shibboleth.Conditions.RelyingPartyId" c:candidate="<a href="http://systemtwo.xxx.com/shibboleth">http://systemtwo.xxx.com/shibboleth</a>" /><br> </property><br> </bean --><br> <br> </util:list><br>...<br><br></i></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><i>attribute-filter.xml<br><afp:AttributeFilterPolicy id="abcid"><br><afp:PolicyRequirementRule xsi:type="basic:AttributeRequesterString" value="<a href="http://abc.xyz.com/shibboleth">http://abc.xyz.com/shibboleth</a>" /><br><br><afp:AttributeRule attributeID="mail"><br> <afp:PermitValueRule xsi:type="basic:ANY" /><br></afp:AttributeRule><br></afp:AttributeFilterPolicy><br><br><br><afp:AttributeFilterPolicy id="systemtwo"><br> <afp:PolicyRequirementRule xsi:type="basic:AttributeRequesterString" value="<a href="http://systemtwo.xxx.com/shibboleth">http://systemtwo.xxx.com/shibboleth</a>" /><br><br> <afp:AttributeRule attributeID="systemtwonameid"><br> <afp:PermitValueRule xsi:type="basic:ANY" /><br> </afp:AttributeRule><br></afp:AttributeFilterPolicy><br><br>...<br><br><br></i></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><i>Thanks,<br></i></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><i>-Senthil<br></i></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><i><br clear="all"></i></div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"></div></div></div></div></div>
</div>