Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The DynamicHTTPMetadataProvider fetches entity metadata just-in-time from a remote HTTP server. The metadata request URL is constructed by applying a transform to the entityID. The transform strategy is configured in a child element.

...

Any of the following child elements may be specified (, in order)the specified order (i.e. filters must appear first, then optionally a trust engine, and finally one of the request construction elements.

NameCardinalityDescription
<MetadataFilter>0 or moreA metadata filter applied to candidate metadata as it flows through the metadata pipeline
<TLSTrustEngine>3.10 or 1A custom TrustEngine used to evaluate TLS server certificates. This element conflicts with and is overridden by the httpClientSecurityParametersRef attribute.
<MetadataQueryProtocol>0 or 1Constructs the metadata request URL based on the requirements of the Metadata Query Protocol
<Template>0 or 1Constructs the metadata request URL by means of a simple transform based on substitution
<Regex>0 or 1Constructs the metadata request URL by means of a complex transform based on a regular expression

...

NameTypeDefaultDescription
encodingStyle 3.4

"none", "form", "path", or "fragment"

"form"

Determines whether and how the entityID value will be URL encoded prior to replacement.  Allowed values are:

  • "none" : No encoding is performed.
  • "form" : Encoded using URL form parameter encoding (for query parameters).
  • "path" : Encoded using URL path encoding.
  • "fragment" : Encoded using URL fragment encoding.

The precise definition of these terms is defined in the documentation for the methods of the Guava library's UrlEscapers class.

encodedBooleantrueDeprecated. Use 'encodingStyle instead as of v3.4. If the element contains an encoded attribute set to "false", the value will be replaced directly, otherwise it will be URL form encoded.
transformRefBean ID
A reference to a transform function for the entityID. If used, the child element must be empty.
velocityEngineBean IDshibboleth.VelocityEngineThis attribute may be used to specify the name of the Velocity engine defined within the application.

...