Versions Compared

Key

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

...

Note that URL escapers are provided for use but you must perform the appropriate escaping because the escaping rules depend on the portion of the URL containing the data.

...

Reference

localtab-livetrue
Localtabgroup
Expand
titleXML Attributes

Name

Type

Description

customObjectRef

Bean ID

Reference to a Spring bean to inject into the template evaluation as a custom object

Localtab live
active
Expand
titleTemplate Context

As enumerated below, several variables are available in the template context. In practice, $resolutionContext.principal and various named dependent attributes (if any) tend to be most useful.

Name

Type

Description

resolutionContext

AttributeResolutionContext

Commonly useful members include $resolutionContext.principal and $resolutionContext.attributeRecipientID

custom

Object

Optional object injected via customObjectRef attribute

foo, bar, etc.

List<IdPAttributeValue>

For each IdPAttribute available from all the provided dependencies, the attributes' values are available as a collection under the attribute's name.

paramEscaper

com.google.common.escape.Escaper

For safe embedding of input data into a query parameter

fragmentEscaper

com.google.common.escape.Escaper

For safe embedding of input data into a URL fragment

pathEscaper

com.google.common.escape.Escaper

For safe embedding of input data into a URL path

httpClientSecurityParameters

HttpClientSecurityParameters

Rarely of interest but provides access to security parameters to be used during call

Example

Code Block
languagexml
<URLTemplate>
  <![CDATA[
      https://webservice.example.org/subjects/$pathEscaper.escape($employeeNumber.get(0))/groups
  ]]>
</URLTemplate>

...