← Back to plugin index

Template-based Username Transformer

Description
Adds the ability to render any values provided by the configured value map provider into a template, that will define the transformed username.
Type name
TemplateBasedUsernameTransformer
Class
com.airlock.iam.flow.shared.application.configuration.user.TemplateBasedUsernameTransformerConfig
May be used by
Properties
Template (template)
Description

Template from which the username is transformed. Placeholders (${value-selector}) are replaced by the corresponding value selected from the "Value Providers". Additionally the input username (current username in the transformation chain) is always provided as a value and can be referenced by ${input-username}.

Note: Placeholders that cannot be resolved, will be replaced with an empty value and the transformation chain will continue. Depending on the template and the usernames in the user data source, this might lead to an unintended identification of a user.

Attributes
String
Mandatory
Example
${input-username}.${organization}
Example
uid.${input-username}
Value Providers (valueProviders)
Description

These plugins provide the map of all values that are available as variables in the template.

Note: Providers providing values that are dependent on the user identity can't provide any values when the username transformation is evaluated. Thus only a few providers (e.g. additional attributes) can provide values at username transformation time.

Attributes
Plugin-List
Optional
Assignable plugins
Value Encoders (valueEncoders)
Description
Encode the values before they are inserted into the template. The encoders are applied in the configured order.
Attributes
Plugin-List
Optional
Assignable plugins
YAML Template (with default values)

type: TemplateBasedUsernameTransformer
id: TemplateBasedUsernameTransformer-xxxxxx
displayName: 
comment: 
properties:
  template:
  valueEncoders:
  valueProviders: