<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 4, 2016 at 2:36 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">> I'm having a problem in IdP v3 (disabling all, I think, legacy v2 support) custom<br>
> NameID generation:<br>
<br>
</span>It isn't relevant, but you didn't in fact disable the backward compatibility.<br>
<span class=""><br>
> Also, the source attribute 'mail' is correctly resolved.<br>
<br>
</span>Your logs don't actually prove that, but assuming that's true...<br></blockquote><div><br></div><div>2016-03-04 14:44:08,756 - DEBUG [net.shibboleth.idp.attribute.resolver.AbstractDataConnector:143] - Data Connector 'myLDAP': Attribute 'mail': Values '[StringAttributeValue{value=<a href="mailto:dahlberg@bucknell.edu">dahlberg@bucknell.edu</a>}]'<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=""><br>
> (3) And released the "emailAddress" attribute from the attribute-filter.xml<br>
> file<br>
<br>
</span>Which is it? mail or emailAddress? Taken literally, that's wrong.<br></blockquote><div><br></div><div>Oh, that's my mistake. I thought that the attribute 'mail' was used to populate 'emailAddress' and that then 'emailAddress' should then be released.</div><div><br></div><div>So you're saying that 'emailAddress' is a type of format and that 'mail' should be released?</div><div><br></div><div>Releasing 'mail' within attribute-filter.xml results in the following:</div><div><br></div><div><div>2016-03-04 14:44:08,922 - DEBUG [net.shibboleth.idp.saml.attribute.encoding.AbstractSAMLAttributeEncoder:154] - Beginning to encode attribute mail</div><div>2016-03-04 14:44:08,923 - DEBUG [net.shibboleth.idp.saml.attribute.encoding.SAMLEncoderSupport:73] - Encoding value <a href="mailto:dahlberg@bucknell.edu">dahlberg@bucknell.edu</a> of attribute mail</div><div>2016-03-04 14:44:08,924 - DEBUG [net.shibboleth.idp.saml.attribute.encoding.AbstractSAMLAttributeEncoder:191] - Completed encoding 1 values for attribute mail</div></div><div><br></div><div><div><br></div><div>2016-03-04 14:44:08,944 - DEBUG [org.opensaml.saml.saml2.profile.impl.AddNameIDToSubjects:286] - Profile Action AddNameIDToSubjects: Attempting to add NameID to outgoing Assertion Subjects</div><div>2016-03-04 14:44:08,944 - DEBUG [org.opensaml.saml.common.profile.logic.AbstractNameIDPolicyPredicate:218] - Policy checking disabled for NameIDPolicy with Format urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</div><div>2016-03-04 14:44:08,945 - DEBUG [org.opensaml.saml.common.profile.logic.MetadataNameIdentifierFormatStrategy:82] - Metadata specifies the following formats: [urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress]</div><div>2016-03-04 14:44:08,945 - DEBUG [net.shibboleth.idp.saml.profile.logic.DefaultNameIdentifierFormatStrategy:100] - Configuration specifies the following formats: []</div><div>2016-03-04 14:44:08,946 - DEBUG [net.shibboleth.idp.saml.profile.logic.DefaultNameIdentifierFormatStrategy:113] - Configuration did not specify any formats, relying on metadata alone</div><div>2016-03-04 14:44:08,946 - DEBUG [org.opensaml.saml.saml2.profile.impl.AddNameIDToSubjects:323] - Profile Action AddNameIDToSubjects: Candidate NameID formats: [urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress]</div><div>2016-03-04 14:44:08,946 - DEBUG [org.opensaml.saml.saml2.profile.impl.AddNameIDToSubjects:396] - Profile Action AddNameIDToSubjects: Trying to generate NameID with Format urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</div><div>2016-03-04 14:44:08,947 - DEBUG [org.opensaml.saml.common.profile.impl.ChainingNameIdentifierGenerator:106] - Trying to generate identifier with Format urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</div><div>2016-03-04 14:44:08,948 - DEBUG [org.opensaml.saml.saml2.profile.impl.AddNameIDToSubjects:341] - Profile Action AddNameIDToSubjects: Unable to generate a NameID, leaving empty</div></div><div><br></div><div>And no NameID in the Subject. Either conceptually I'm missing something or I skipped some step.</div><div><br></div><div>Thanks again, Scott.</div><div><br></div><div>Mike</div></div><br></div></div>