Namespace: urn:mace:shibboleth:2.0:resolver
Schema: http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd
...
As enumerated below, several variables are available to the Velocity template context. In practice $resolutionContext.principal
and any dependent attributes tend to be most useful.
Name | Description |
---|---|
| The AttributeResolutionContext. Commonly useful properties include |
| For each IdPAttribute available from all the input dependencies, the attributes' values are available as a collection under the attribute's name. For the first value of an attribute with the ID "foo", Note this this is a simplification of the actual native data structures to simplify the template. |
Example
Code Block | ||
---|---|---|
| ||
<QueryTemplate> <![CDATA[ SELECT * FROM people WHERE userid='$resolutionContext.principal' ]]> </QueryTemplate> |