<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello Experts,<div class=""><br class=""></div><div class="">In Shibboleth v4, I have the following attribute definition in my resolver xml. As you can see below, I am using the SAML2String attribute encoder plugin without the “friendlyName” definition. However, in the SAML response,  the IDP sends out the attribute statement containing the “friendlyName” and its value is the one defined for “name”</div><div class=""><br class=""></div><div class=""><b class=""><u class="">Questions</u></b>:</div><div class=""><br class=""></div><div class="">1) Is this the expected behavior of SAML2String encoder in v4 ? The reason I am asking is, this isn't the way the SAML2String plugin behaved in my IDPv3. </div><div class=""><br class=""></div><div class="">2)  Is there a way to NOT send the “friendlyName” in the attribute statement ?</div><div class=""><br class=""></div><div class="">Am I missing something ?</div><div class=""><br class=""></div><div class="">Attribute Resolver :</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(50, 244, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""><AttributeDefinition </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #80ffa7" class="">xsi</span><span style="font-variant-ligatures: no-common-ligatures" class="">:</span><span style="font-variant-ligatures: no-common-ligatures; color: #80ffa7" class="">type</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">=</span><span style="font-variant-ligatures: no-common-ligatures; color: #fb1eff" class="">"Simple"</span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""> </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #80ffa7" class="">id</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">=</span><span style="font-variant-ligatures: no-common-ligatures; color: #fb1eff" class="">"firstname"</span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">></b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(251, 30, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">    </span><span style="font-variant-ligatures: no-common-ligatures; color: #32f4f1" class=""><b class=""><InputDataConnector </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #80ffa7" class="">ref</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">=</span><span style="font-variant-ligatures: no-common-ligatures" class="">"ActiveDirectory"</span><span style="font-variant-ligatures: no-common-ligatures; color: #32f4f1" class=""><b class=""> </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #80ffa7" class="">attributeNames</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">=</span><span style="font-variant-ligatures: no-common-ligatures" class="">"givenName"</span><span style="font-variant-ligatures: no-common-ligatures; color: #32f4f1" class=""><b class=""> /></b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(251, 30, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">    </span><span style="font-variant-ligatures: no-common-ligatures; color: #32f4f1" class=""><b class=""><AttributeEncoder </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #80ffa7" class="">xsi</span><span style="font-variant-ligatures: no-common-ligatures; color: #32f4f1" class="">:</span><span style="font-variant-ligatures: no-common-ligatures; color: #80ffa7" class="">type</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">=</span><span style="font-variant-ligatures: no-common-ligatures" class="">"SAML2String"</span><span style="font-variant-ligatures: no-common-ligatures; color: #32f4f1" class=""><b class=""> </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #80ffa7" class="">name</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">=</span><span style="font-variant-ligatures: no-common-ligatures" class="">"firstname"</span><span style="font-variant-ligatures: no-common-ligatures; color: #32f4f1" class=""><b class=""> </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #80ffa7" class="">encodeType</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">=</span><span style="font-variant-ligatures: no-common-ligatures" class="">"false"</span><span style="font-variant-ligatures: no-common-ligatures; color: #32f4f1" class=""><b class=""> /></b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(50, 244, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""></AttributeDefinition></b></span></div></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(50, 244, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""><br class=""></b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(50, 244, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;" class="">SAML Statement :</span></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(50, 244, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;" class=""><br class=""></span></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(50, 244, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span style="color: rgb(68, 68, 68); font-family: Consolas, "Lucida Console", Courier, monospace; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2; background-color: rgb(255, 255, 255);" class=""> </span><span class="hljs-tag" style="color: rgb(220, 45, 37); font-family: Consolas, "Lucida Console", Courier, monospace; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2;"><span style="background-color: rgb(255, 255, 255);" class=""><</span><span class="hljs-name" style="background-color: rgb(255, 255, 255); color: rgb(0, 116, 232);">saml2:Attribute</span><span style="background-color: rgb(255, 255, 255);" class=""> </span><span style="background-color: rgb(255, 255, 0);" class=""><span class="hljs-attr" style="color: rgb(221, 0, 169);">FriendlyName</span>=<span class="hljs-string" style="color: rgb(0, 62, 170);">"firstname"</span></span><span style="background-color: rgb(255, 255, 255);" class="">
                             </span><span style="background-color: rgb(255, 255, 0);" class=""><span class="hljs-attr" style="color: rgb(221, 0, 169);">Name</span>=<span class="hljs-string" style="color: rgb(0, 62, 170);">"firstname"</span></span><span style="background-color: rgb(255, 255, 255);" class="">
                             </span><span class="hljs-attr" style="background-color: rgb(255, 255, 255); color: rgb(221, 0, 169);">NameFormat</span><span style="background-color: rgb(255, 255, 255);" class="">=</span><span class="hljs-string" style="background-color: rgb(255, 255, 255); color: rgb(0, 62, 170);">"urn:oasis:names:tc:SAML:2.0:attrname-format:uri"</span><span style="background-color: rgb(255, 255, 255);" class="">
                             ></span></span><span style="color: rgb(68, 68, 68); font-family: Consolas, "Lucida Console", Courier, monospace; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2; background-color: rgb(255, 255, 255);" class="">
                </span><span class="hljs-tag" style="color: rgb(220, 45, 37); font-family: Consolas, "Lucida Console", Courier, monospace; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2; background-color: rgb(255, 255, 255);"><<span class="hljs-name" style="color: rgb(0, 116, 232);">saml2:AttributeValue</span>></span><span style="color: rgb(68, 68, 68); font-family: Consolas, "Lucida Console", Courier, monospace; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2; background-color: rgb(255, 255, 255);" class="">John</span><span class="hljs-tag" style="color: rgb(220, 45, 37); font-family: Consolas, "Lucida Console", Courier, monospace; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2; background-color: rgb(255, 255, 255);"></<span class="hljs-name" style="color: rgb(0, 116, 232);">saml2:AttributeValue</span>></span></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(50, 244, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="hljs-tag" style="color: rgb(220, 45, 37); font-family: Consolas, "Lucida Console", Courier, monospace; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2; background-color: rgb(255, 255, 255);"><br class=""></span></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(50, 244, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="hljs-tag" style="color: rgb(220, 45, 37); font-family: Consolas, "Lucida Console", Courier, monospace; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2; background-color: rgb(255, 255, 255);"><br class=""></span></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(50, 244, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="hljs-tag" style="color: rgb(220, 45, 37); font-family: Consolas, "Lucida Console", Courier, monospace; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2; background-color: rgb(255, 255, 255);">Please help !</span></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(50, 244, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="hljs-tag" style="color: rgb(220, 45, 37); font-family: Consolas, "Lucida Console", Courier, monospace; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2; background-color: rgb(255, 255, 255);"><br class=""></span></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(50, 244, 241);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="hljs-tag" style="color: rgb(220, 45, 37); font-family: Consolas, "Lucida Console", Courier, monospace; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2; background-color: rgb(255, 255, 255);"><br class=""></span></span></div></body></html>