← Back to plugin index

SAML 2.0 Assertion String Attribute Importer

Description

Import a single-value String attribute from a SAML 2.0 assertion into a flow session.

If the provided attribute is multi-valued, the last value is used (for backward compatibility) and a warning is logged (if there are multiple attributes with the same name, the last value of the last attribute is used).

An imported attribute can be used afterwards in any plugin that uses a String value provider by configuring a 'Generic Session Attribute String Provider'.

Type name
Saml2SpAssertionStringAttributeImport
Class
com.airlock.iam.saml2.application.configuration.sp.Saml2SpAssertionStringAttributeImportConfig
May be used by
License-Tags
SamlSp
Properties
Attribute Name (attributeName)
Description
Name of the SAML attribute in the assertion to import.
Attributes
String
Mandatory
Length >= 1
Example
email
Key (key)
Description
Key under which the value of the imported attribute will be available in the flow session. If none is configured, the name of the attribute will be used as key.
Attributes
String
Optional
Fail If Empty (failIfEmpty)
Description
Fail if the SAML 2.0 assertion does not contain the configured attribute or the value provided is blank. When false, no value will be imported in such a case.
Attributes
Boolean
Optional
Default value
false
YAML Template (with default values)

type: Saml2SpAssertionStringAttributeImport
id: Saml2SpAssertionStringAttributeImport-xxxxxx
displayName: 
comment: 
properties:
  attributeName:
  failIfEmpty: false
  key: