<div dir="ltr">And it works! Thanks a lot.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 26, 2017 at 8:52 PM, Mohamed Lrhazi <span dir="ltr"><<a href="mailto:lrhazi@cua.edu" target="_blank">lrhazi@cua.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Oh!!!!! extra double quotes the name!! let me fix and try again....<span class=""><div><br></div><div><span style="font-size:12.8px">Metadata specifies the following formats: [urn:oasis:names:tc:SAML:1.1:</span><span style="font-size:12.8px">n<wbr>ameid-format:emaintNameid"]</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 26, 2017 at 8:38 PM, Mohamed Lrhazi <span dir="ltr"><<a href="mailto:lrhazi@cua.edu" target="_blank">lrhazi@cua.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks Scott. I ll read on the docs... but here the log... apparently it did try to use that format :</div><span><div><br></div><div><br></div><div>2017-03-26 18:26:22,388 - DEBUG [org.opensaml.saml.saml2.profi<wbr>le.impl.AddNameIDToSubjects:<wbr>341] - Profile Action AddNameIDToSubjects: Unable to generate a NameID, leaving empty</div><div> 2017-03-26 18:26:22,388 - DEBUG [org.opensaml.saml.common.prof<wbr>ile.impl.ChainingNameIdentifie<wbr>rGenerator:106] - Trying to generate identifier with Format urn:oasis:names:tc:SAML:1.1:na<wbr>meid-format:emaintNameid"</div></span><div> 2017-03-26 18:26:22,387 - DEBUG [org.opensaml.saml.saml2.profi<wbr>le.impl.AddNameIDToSubjects:<wbr>396] - Profile Action AddNameIDToSubjects: Trying to generate NameID with Format urn:oasis:names:tc:SAML:1.1:na<wbr>meid-format:emaintNameid"</div><div> 2017-03-26 18:26:22,386 - DEBUG [org.opensaml.saml.saml2.profi<wbr>le.impl.AddNameIDToSubjects:<wbr>323] - Profile Action AddNameIDToSubjects: Candidate NameID formats: [urn:oasis:names:tc:SAML:1.1:n<wbr>ameid-format:emaintNameid"]</div><div> 2017-03-26 18:26:22,385 - DEBUG [net.shibboleth.idp.saml.profi<wbr>le.logic.DefaultNameIdentifier<wbr>FormatStrategy:137] - Configuration did not specify any formats, relying on metadata alone</div><div> 2017-03-26 18:26:22,385 - DEBUG [net.shibboleth.idp.saml.profi<wbr>le.logic.DefaultNameIdentifier<wbr>FormatStrategy:124] - Configuration specifies the following formats: []</div><div> 2017-03-26 18:26:22,384 - DEBUG [org.opensaml.saml.common.prof<wbr>ile.logic.MetadataNameIdentifi<wbr>erFormatStrategy:82] - Metadata specifies the following formats: [urn:oasis:names:tc:SAML:1.1:n<wbr>ameid-format:emaintNameid"]</div><div> 2017-03-26 18:26:22,384 - DEBUG [org.opensaml.saml.common.prof<wbr>ile.logic.AbstractNameIDPolicy<wbr>Predicate:218] - Policy checking disabled for NameIDPolicy with Format urn:oasis:names:tc:SAML:1.1:na<wbr>meid-format:unspecified</div><div><br></div><div><br></div></div><div class="m_2230464764461640950HOEnZb"><div class="m_2230464764461640950h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 26, 2017 at 4:07 PM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 3/26/17, 3:36 PM, "users on behalf of Mohamed Lrhazi" <<a href="mailto:users-bounces@shibboleth.net" target="_blank">users-bounces@shibboleth.net</a> on behalf of <a href="mailto:lrhazi@cua.edu" target="_blank">lrhazi@cua.edu</a>> wrote:<br>
<br>
> am trying to force Assertion/Subject/NameID to be the CN of the user, as requested by the SP....<br>
> I tried adding a custom format in the SP metadata:<br>
<br>
</span>You have no standing to make up names in the OASIS namespace, so please don't. That is invalid.<br>
<br>
In other respects, there's nothing wrong mechanically with your approach.<br>
<span><br>
> The NameID though is left empty:<br>
<br>
</span>Then the system probably didn't select that Format to use, and you need to read the documentation on Format selection. You left out ample logging that would have shown that clearly.<br>
<span class="m_2230464764461640950m_8073055856658103519HOEnZb"><font color="#888888"><br>
-- Scott<br>
<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.n<wbr>et</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>