...
In most cases the values are extracted from the Metadata of the relyingparty. The SAML Metadataand and the SAML Metadata Login and Discover UI Extensions specifications provide the required details.
...
The email field is defined in the SAML Metadata Metadata specification.
$rpUIContext.contactGivenName(type), $rpUIContext.contactSurName(type),
...
The given name are surname are defined in the SAML Metadata Metadata specification.
$rpUIContext.informationURL
...
The OrganizationDisplayName is defined in the SAML Metadata specifciationMetadata specification
$rpUIContext.organizationName
...
The OrganizationName is defined in the SAML Metadata specifciationMetadata specification
$rpUIContext.organizationURL
...
The OrganizationURL is defined in the SAML Metadata specifciationMetadata specification
$rpUIContext.privacyStatementURL
...
The PrivacyStatementURL is defined in the the SAML Metadata Login and Discover UI Extensions specification.
...
The Description is defined in the the SAML Metadata Login and Discover UI Extensions specification.
The ServiceDescription is defined in the the SAML Metadata specifciationMetadata specification
$rpUIContext.serviceName
This will always return a value. As for the serviceDescription, the search is compound through both the metadata and the metadata extensions
...
For example, absent appropriate metadata https://wikiexample.shibboleth.net/shibboleth
would return wikiexample.shibboleth.net,
whilst urn:mace:edu.internet:provider:identity:uni.edu
would be pass unchanged.
Code Block | ||||
---|---|---|---|---|
| ||||
#set ($rpContext = $profileRequestContext.getSubcontext('net.shibboleth.idp.profile.context.RelyingPartyContext')) #set ($serviceName = $rpUIContext.serviceName) // Do not diplay anything if there is no metadata support #if ($serviceName && !$rpContext.getRelyingPartyId().contains($serviceName)) <legend> #springMessageText("idp.login.loginTo", "Login to") $encoder.encodeForHTML($serviceName) </legend> #end |
...
The ServiceName is defined in the SAML Metadata specifciationMetadata specification