AttributesContext
Provides a map for request attributes. When IG processes a single request, it injects transient state information about the request into this context. Attributes stored when processing one request are not accessible when processing a subsequent request.
IG automatically provides access to the attributes
field through
the attributes
bindings in expressions. For example, to access a username with
an expression, use ${attributes.credentials.username}
instead of
${contexts.attributes.attributes.credentials.username}
Use SessionContext to maintain state between successive requests from the same logical client.
Properties
The context is named attributes
, and is accessible at
${attributes}
.
The context has the following property:
"attributes"
: map-
Map of information conveyed between filters and handlers. Cannot be null.