<div dir="ltr">Hello dear list,<br><br>I like to customize my login page via login.vm by using the SP metadata.<br><div>For this reason, I use the "rpUIContext" and the documentation under:</div><div>
<a href="https://wiki.shibboleth.net/confluence/display/IDP30/RpUIContext">https://wiki.shibboleth.net/confluence/display/IDP30/RpUIContext</a> <br></div><div><br></div>All attributes, coming from "SAML Metadata UI Specification"<br>are working well.<br>If I try to access the standard SAML Metadata attributes (Organization, contactPerson) only the access to the<br>Organization attributes (OrganizationName, OrganizationDisplayName, OrganizationURL) works.<br><br>When I use the documentation (<a href="https://wiki.shibboleth.net/confluence/display/IDP30/RpUIContext">https://wiki.shibboleth.net/confluence/display/IDP30/RpUIContext</a>) and try<br>to access to the attributes derived from the contactPerson (GivenName, SurName, EmailAddress) - it doesn't work.<br><br><br>Example from documentation:<br>#set ($email=$rpUIContext.contactEmail(support))<br>Contact the websites support team <a href="$encoder.encodeForHTMLAttribute($email)"/>here</a><br><br>Working Example:<br>#set ($email=$rpUIContext.getContactEmail('support'))<br>Contact the websites support team <a href="$encoder.encodeForHTMLAttribute($email)"/>here</a><br><br>In the documentation are missing the ' .. ' around the contactType (eg. 'support') and the method-name does not work.<br>After spying in the source code I found, that the methods "getContact*" are working (see example above).<br><br>Here the important part of my metadata, what I used for testing:<br><br>.<br>.<br>.<br> </m:SPSSODescriptor><br> <m:Organization><br> <m:OrganizationName xml:lang="en">HSET</m:OrganizationName><br> <m:OrganizationDisplayName xml:lang="en">High School Example Town</m:OrganizationDisplayName><br> <m:OrganizationURL xml:lang="en"><a href="https://www.hs-exampletown.org">https://www.hs-exampletown.org</a></m:OrganizationURL><br> </m:Organization><br> <m:ContactPerson contactType="technical"><br> <m:GivenName>John</m:GivenName><br> <m:SurName>Doe</m:SurName><br> <m:EmailAddress>mailto:<a href="mailto:John.Doe@hs-exampletown.org">John.Doe@hs-exampletown.org</a></m:EmailAddress><br> </m:ContactPerson><br></m:EntityDescriptor><br><br>Is this an mistake in the documentation or do I something wrong?<br><br>Thanks Meike!</div>