PingGateway 2024.9

AttributesContext

Provides a map for request attributes. When PingGateway 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.

PingGateway 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 with the format Map<String,Object>, where:

  • Key: Attribute name

  • Value: Attribute value

Cannot be null.

Copyright © 2010-2024 ForgeRock, all rights reserved.