← Back to plugin index

User To Context Data Transformer

Description
This user name transformer returns the context data field value of the user. This allows to propagate a context value like an email address instead of the username.
Type name
UserToContextDataTransformer
Class
com.airlock.iam.common.application.configuration.user.UserToContextDataTransformerConfig
May be used by
Properties
Context Data Item (contextDataItem)
Description
The string-typed context data item to use as the value to propagate.
Attributes
Plugin-Link
Mandatory
Assignable plugins
Mandatory Transformation (mandatoryTransformation)
Description
If the transformation is mandatory, the context data value must be present for this user, otherwise an exception is thrown. If not mandatory and the value is not present, this transformer is ignored (i.e. the name is not transformed and subsequent transformers (if any) are called).
Attributes
Boolean
Optional
Default value
true
Stop After Successful Transformation (stopAfterSuccessfulTransformation)
Description
With this flag the chaining of user name transformers can be interrupted. If it is enabled and the user name transformer found a value in the context field, this result will be the final result.
Attributes
Boolean
Optional
Default value
true
YAML Template (with default values)

type: UserToContextDataTransformer
id: UserToContextDataTransformer-xxxxxx
displayName: 
comment: 
properties:
  contextDataItem:
  mandatoryTransformation: true
  stopAfterSuccessfulTransformation: true