← Back to plugin index

Session Context Retention Policy

Description

With this context retention policy, the configuration context is evaluated once for every session.

The context is determined during the first request in the session and is re-used for subsequent requests.

Type name
SessionContextRetentionPolicy
Class
com.airlock.iam.flow.shared.application.configuration.context.policy.SessionContextRetentionPolicy
May be used by
Properties
Allow Change (allowChange)
Description

If this option is enabled, the context is allowed to change and therefore is re-evaluated for each request.

If the context extractor determines a new context for a request, the context is changed. Otherwise, the session context will be re-used. For this to work, the context extractor must be configured without a fallback context, otherwise the fallback context will always be used instead of the session context.

Attributes
Boolean
Optional
Default value
false
YAML Template (with default values)

type: SessionContextRetentionPolicy
id: SessionContextRetentionPolicy-xxxxxx
displayName: 
comment: 
properties:
  allowChange: false