Versions Compared

Key

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

...

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

resolutionContext

The AttributeResolutionContext. Commonly useful properties include $resolutionContext.principal and $resolutionContext.attributeRecipientID

foo, bar, etc.

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", foo.get(0) will provide it.

Note this this is a simplification of the actual native data structures to simplify the template.

...