<div dir="ltr">Thanks Peter but I think the resolver is ok. SP gets "sn" if it's type is "ANY", not "attributeInMetadata".<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 20, 2017 at 2:38 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">* Jukka Hakosalo <<a href="mailto:jhakosal@gmail.com">jhakosal@gmail.com</a>> [2017-12-20 04:49]:<br>
<span class="">> this example only mail and eppn are released. What's wrong with<br>
> AttributeInMetadata? Idp ignores it. Log shows no error.<br>
</span>[...]<br>
<span class="">> <AttributeRule attributeID="sn"><br>
> <PermitValueRule xsi:type="AttributeInMetadata" /><br>
> </AttributeRule><br>
</span>[...]<br>
<span class="">> <md:RequestedAttribute FriendlyName="sn" Name="urn:oid:2.5.4.4"<br>
> NameFormat="urn:oasis:names:<wbr>tc:SAML:2.0:attrname-format:<wbr>uri"/><br>
<br>
</span>Because in your attribute-resolver.xml the attribute's internal id<br>
probably is "surname", not "sn"?<br>
<span class="HOEnZb"><font color="#888888"><br>
-peter<br>
--<br>
For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/<wbr>confluence/x/coFAAg</a><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>