PingGateway 2024.9

SessionContext

Provides access to information about stateful and stateless sessions.

To process a single request, consider using AttributesContext to transfer transient state between components and prevent PingGateway from creating additional sessions.

PingGateway automatically provides access to the session field through the session bindings in expressions. For example, to access a username with an expression, use ${session.username} instead of ${contexts.session.session.username}

Properties

The context is named session, and is accessible at ${contexts.session}. The context has the following properties:

"session": java.util.Map

A map with the format Map<String, Object>, where:

  • Key: Session property name

  • Value: Session property value

Any object type can be stored in the session.

Copyright © 2010-2024 ForgeRock, all rights reserved.