← Back to plugin index

Generic Session Attribute String Provider

Description
A value provider that loads the String value associated with the configured key from the 'Generic Strings Session Attribute'.
Those attributes are a generic way to store custom string values in the session. They are empty unless populated by custom code or by configuring a "SAML 2.0 Assertion String Attribute Importer" on the SAML 2.0 service provider.
Type name
GenericSessionAttributeStringProvider
Class
com.airlock.iam.flow.shared.application.configuration.valueprovider.GenericSessionAttributeStringProviderConfig
May be used by
Properties
Key (key)
Description
The key in the 'Generic Strings Session Attribute' for which the value should be provided.
Attributes
String
Mandatory
Default Value (defaultValue)
Description
An optional default value to be provided if the attribute container contains no value for the configured key.
Attributes
String
Optional
Fail If Null (failIfNull)
Description
If this flag is set and the final value (also considering the optional default value) evaluates to null, an exception is thrown. Otherwise, null is returned.
Attributes
Boolean
Optional
Default value
false
YAML Template (with default values)

type: GenericSessionAttributeStringProvider
id: GenericSessionAttributeStringProvider-xxxxxx
displayName: 
comment: 
properties:
  defaultValue:
  failIfNull: false
  key: