<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:12pt"><div><span>Thanks.&nbsp;</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>I commented out the "AttributeFilterPolicy" for "transientId"&nbsp;AttributeRule and now there is no response from IdP and i see the following in idp-process.log:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="background-color: transparent;"><span>21:34:27.889 - WARN [edu.internet2.middleware.shibboleth.idp.profile.AbstractSAMLProfileHandler:491] - No attribute of
 principal 'user1' can be encoded in to a NameIdentifier of required format 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress' for relying party 'https://inw00003973:8443'<br></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal;"><span><br></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal;"><span>Thanks,</span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal;"><span>Vasu</span></div><div><br></div>  <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande',
 sans-serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Kevin P. Foote &lt;kpfoote@iup.edu&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Shib Users &lt;users@shibboleth.net&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, 21 November 2013 7:13 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: IdP: Returning emailAddress as NameId in SAMLResponse Assertion<br> </font> </div> <div class="y_msg_container"><br><div class="yqt7033496969" id="yqtfd92779"><br clear="none">On Thu, 21 Nov 2013, vyal2k wrote:<br clear="none"><br clear="none">&gt; &nbsp;I am trying to have IdP return email address as the NameId in the Assertion (in response AuthnRequest). But the returned nameId value (in decrypted Assertion) is some sort of code
 "_3ad95a453140ebc4894b5777f58096e2" instead of the authenticated user's email address (in LDAP) that i was expecting.<br clear="none">&gt;<br clear="none">&gt; Here is attribute-resolver.xml at IdP:<br clear="none">&gt; &nbsp; &nbsp; &lt;resolver:AttributeDefinition xsi:type="ad:Simple" id="email" sourceAttributeID="mail"&gt;<br clear="none">&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;resolver:Dependency ref="myLDAP" /&gt;<br clear="none">&gt; &lt;resolver:AttributeEncoder xsi:type="SAML2StringNameID" xmlns="urn:mace:shibboleth:2.0:attribute:encoder" nameFormat="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress" /&gt;<br clear="none">&gt; &nbsp; &nbsp; &lt;/resolver:AttributeDefinition&gt;<br clear="none">&gt; &nbsp; &nbsp;&nbsp;<br clear="none">&gt; Here is attribute-filter.xml at IdP:<br clear="none">&gt; &lt;afp:AttributeFilterPolicy id="citrixShareFile_nameID"&gt;<br clear="none">&gt; &lt;afp:PolicyRequirementRule xsi:type="basic:ANY" /&gt;<br
 clear="none">&gt; &lt;afp:AttributeRule attributeID="email"&gt;<br clear="none">&gt; &lt;afp:PermitValueRule xsi:type="basic:ANY" /&gt;<br clear="none">&gt; &lt;/afp:AttributeRule&gt;<br clear="none">&gt; &lt;/afp:AttributeFilterPolicy&gt;<br clear="none">&gt;<br clear="none">&gt; SP configuration at IdP: &lt;SPSSODescriptor&gt; includes:<br clear="none">&gt; &lt;NameIDFormat&gt;urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress&lt;/NameIDFormat&gt;<br clear="none">&gt;<br clear="none">&gt; And the AuthnRequest contains:<br clear="none">&gt; &lt;saml2p:NameIDPolicy Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"/&gt;<br clear="none">&gt;<br clear="none">&gt; Please let me know how to have IdP return authenticated user's email address to the SP.</div><br clear="none"><br clear="none">You are probably not removing the Transient NameId from the available<br clear="none">attributes at your filter.<br clear="none"><br clear="none">This
 was just on a thread about 3 weeks ago..<br clear="none"><br clear="none">You need to place a DenyValueRule for the TransientId in your filter<br clear="none">rules for that entity.<br clear="none"><br clear="none"><br clear="none">------<br clear="none">thanks<br clear="none">&nbsp; kevin.foote<br>--<br clear="none">To unsubscribe from this list send an email to <a shape="rect" ymailto="mailto:users-unsubscribe@shibboleth.net" href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br><br></div> </div> </div>  </div></body></html>