...
In addition the Spring framework provides the deployer with the option to use macros. This is described here. Probably the most useful macro is #springMessageText(token,'default value')
, which looks up the appropriate (language specific) message property (in overrideable via files in the messages directory) and returns that value or the default.
...
Property | Description |
---|---|
An HTMLEncoder object (javadoc here). This , allows safe HTML encoding of various types. This is further described hereunder HtmlEncoder. | |
profileRequestContext | A ProfileRequestContext (javadoc here). This is , primarily used to locate subsidiary contexts: |
environment | The Spring Environment (javadoc here). This will be most frequently used to resolve properties (defined in idp.properties or other files), by calling the getProperty method. For instance |
custom | The Spring bean with id "named shibboleth.CustomViewContext". This can be whatever you define it to be (in global.xml). |
request | The HttpServletRequest (javadoc here). This is an advanced topic and out of scope for this page. |
response | The HttpServletResponse (javadoc here). This is an advanced topic and out of scope for this page. |
flowRequestContext | The Spring Web Flow RequestContext (javadoc here). This is an advanced topic and out of scope for this page. |
springMacroRequestContext | A help context supplied by Spring. Primarily used to render language specific resources from the message bundles. For instance |
...
During password login, the templates login.vm and login-error.vm are used and have access to additional variables:
...
Property | Description |
---|---|
A RelyingPartyUIContext object. This object allows language sensitive rendering of specific information about the relying party (logos and so forth). This is described further here. | |
attributeDisplayNameFunction | A class (javadoc here) with one method 'apply'. This Function takes an IdPAttribute (usually from |
attributeDisplayDescriptionFunction | A class (javadoc here) with one method 'apply'. This Function that takes an IdPAttribute (usually from |
consentContext | A ConsentContext (javadoc here). A context representing the state of a consent flow (current and previous consents). Further information TBD. |
attributeReleaseContext | An AttributeReleaseContext (javadoc here). This , this can be used to provide an iterable group of those attributes to which consent can be applied via the call |
...
Property | Description |
---|---|
logoutContext | A LogoutContext (javadoc here). This , contains information to list the services accessed during the session that has been terminated |
multi-rpContext | A MultiRelyingPartyContext (javadoc here). This , allows lookup of the RelyingPartyContext (javadoc here) for each service listed in the logoutContext |
...
rpUIContext as used in the login case
termsOfUseId . A ConsentContext (javadoc here). A context - a ConsentContext representing the state of a consent flow (current and previous consents). Further information TBD.
...