<div dir="ltr"><div>Thanks</div><div><br></div><div>I commented the below (as follows) in saml-nameid.xml</div><div> <!-- <ref bean="shibboleth.SAML2PersistentGenerator" /> --></div><div><br></div><div>and added an section like below and things worked....</div><div><br></div><div><bean parent="shibboleth.SAML2AttributeSourcedGenerator"<br> p:omitQualifiers="true"<br> p:format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"<br> p:attributeSourceIds="#{ {'uid'} }"><br>  <property name="activationCondition"><br><bean parent="shibboleth.Conditions.RelyingPartyId" c:candidate="urn:federation:XXX" /><br>    </property><br></bean><br></div><div><br></div><div><br></div><div>however it is not the best use of the format urn:oasis:names:tc:SAML:2.0:nameid-format:persistent   ?</div><div><br></div><div>also it is discouraged to comment SAML2PersistentGenerator?</div><div><br></div><div>Also believe while commenting SAML2PersistentGenerator  not only for this SP, it impact all the SPs with respect to this persistent NameID</div><div><br></div><div>Due to this, and also because I have defined the salt values and db details in saml-nameid.xml (before commenting AML2PersistentGenerator), is it possible to treat only this SP with SAML2AttributeSourcedGenerator for format:persistent?</div><div><br></div><div>and leave the previous SAML2PersistentGenerator?</div><div><br></div><div>basically to override only for this SP and keep the original as is.</div><div><br></div><div>Let me know</div><div><br></div><div>Thanks</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 27, 2017 at 6:28 PM, Peter Schober <span dir="ltr"><<a href="mailto:peter.schober@univie.ac.at" target="_blank">peter.schober@univie.ac.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">* Lalith Jayaweera <<a href="mailto:ljayaweera@gmail.com">ljayaweera@gmail.com</a>> [2017-04-27 10:17]:<br>
<span>> urn:oasis:names:tc:SAML:2.0:<wbr>nameid-format:persistent<br>
><br>
> in idp 2.4.x for Azure(Mcrosoft) integration the value of nameID<br>
> with above format was passed with the raw value of uid without any<br>
> salt/encoding applied to it.<br>
<br>
</span>That's not legal according to the SAML specification, cf. 8.3.7 on<br>
page 86 of SAML Core:<br>
<a href="https://www.oasis-open.org/committees/download.php/56776/sstc-saml-core-errata-2.0-wd-07.pdf" target="_blank" rel="noreferrer">https://www.oasis-open.org/<wbr>committees/download.php/56776/<wbr>sstc-saml-core-errata-2.0-wd-<wbr>07.pdf</a><br>
<span><br>
> however I can see in idp 3.2.x we can do salt etc for the persistent<br>
> NameID<br>
<br>
</span>That always was possible.<br>
<span><br>
> how to pass the uid value without applying any SALT etc....so that row uid<br>
> will be passed to the other end with<br>
> format urn:oasis:names:tc:SAML:2.0:<wbr>nameid-format:persistent similar to idp<br>
> 2.4.x<br>
><br>
> If I have to change saml-nameid.properties please advice<br>
<br>
</span>I guess could disable (comment out) the<br>
bean="shibboleth.<wbr>SAML2PersistentGenerator" in conf/saml-nameid.xml and<br>
instead add an attribute-based NameID there, e.g.<br>
<br>
  <!-- This violates the SAML specification! --><br>
  <bean parent="shibboleth.<wbr>SAML2AttributeSourcedGenerator<wbr>"<br>
        p:format="urn:oasis:names:tc:<wbr>SAML:2.0:nameid-format:<wbr>persistent"<br>
        p:attributeSourceIds="#{{'uid'<wbr>} }" /><br>
<br>
If everything there remains commented out you only need to release the<br>
uid attribute to the SP in question (to trigger release of the<br>
uid-based NameID).<br>
<span class="HOEnZb"><font color="#888888"><br>
-peter<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.<wbr>net</a><br>
</font></span></blockquote></div><br></div>