QueryTemplate> element provides the template from which the SQL query is built.
Schema Name and Location
This element is defined by the
namespace, the schema for which is located at http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd
Typically the XML "CDATA" construct is used to wrap the text because it avoids the need for special escaping of most characters.
No attributes are defined.
No child elements are defined.
As enumerated below, several variables are available to the template context. In practice
$resolutionContext.principal and any dependent attributes tend to be most useful.
|always||The AttributeResolutionContext. Commonly useful members include|
|If the ||The legacy V2SAMLProfileRequestContext, provided for compatibility with most legacy SQL query templates.|
|Whenever the enclosing element has a ||For each IdPAttribute available from all the provided dependencies, the attributes' values are available as a collection under the attribute's name. For the first value, append .get(0) to the attribute name.|