<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 2/28/2019 11:14 AM, Emily Heiner
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:292BB1D23FAE1146BADD838888804F8DE1D12581@Saddlebag-M2.wcc.whatcom.ctc.edu">
      <p class="MsoNormal">Hi, I’m using Shibboleth 2 and am trying to
        release an attribute to an SP (SAMLTest in this instance) and it
        keeps passing my email address as “mail” to them, when I want
        the attribute to be called Email when it is passed to them. I’ve
        googled and am frankly stumped.<o:p></o:p></p>
      <p class="MsoNormal"><o:p> </o:p></p>
      <p class="MsoNormal">My attribute-resolver.xml has:<o:p></o:p></p>
                                      <resolver:AttributeEncoder
      xsi:type="enc:SAML2String"
      name="urn:oid:0.9.2342.19200300.100.1.3" friendlyName="Email"
      /></blockquote>
    <p>It is likely that the SP side is using the Name rather than the
      friendlyName (which is the Right Thing to do), and may be mapping
      the OID style identifier to mail (on a Shib SP, that would be in
      attribute-map.xml).  Setting the name="Email" would likely fix
      that.<br>
    </p>
    <p>I'm guessing this is not a Shib SP, as in that case the SP should
      just change their attribute-map.xml instead of having the IdP do
      it...<br>
    </p>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
%%  Christopher A. Bongaarts   %%  <a class="moz-txt-link-abbreviated" href="mailto:cab@umn.edu">cab@umn.edu</a>          %%
%%  OIT - Identity Management  %%  <a class="moz-txt-link-freetext" href="http://umn.edu/~cab">http://umn.edu/~cab</a>  %%
%%  University of Minnesota    %%  +1 (612) 625-1809    %%
</pre>
  </body>
</html>