← Back to plugin index

Token Data Username Transformer

Description
Similar to the Context Data Username Transformer, this plugin tries to look up the user name in a specified field in the token database and returns the username of the user to whom this token is assigned.
Type name
TokenDataUsernameTransformer
Class
com.airlock.iam.core.misc.impl.authen.TokenDataUsernameTransformer
May be used by
Properties
Token Data Provider (tokenDataProvider)
Description
Token data provider to load the token data.
Attributes
Plugin-Link
Mandatory
Assignable plugins
Token Type (tokenType)
Description
Restricts the search to a specific token type. Leave empty to search all token types.
Attributes
String
Mandatory
Suggested values
CERTIFICATE, VASCO, CRONTO
Data Field (dataField)
Description
Specifies the field of the token that has to exactly match the entered user name. If a prefix or other modifications are necessary, chain this transformer after other transformers.
Attributes
Enum
Mandatory
Stop After Successful Transformation (stopAfterSuccessfulTransformation)
Description
With this flag the chaining of username transformers can be interrupted. If it is enabled and this transformer successfully transformed the username, following username transformers are not executed.
Attributes
Boolean
Optional
Default value
false
YAML Template (with default values)

type: TokenDataUsernameTransformer
id: TokenDataUsernameTransformer-xxxxxx
displayName: 
comment: 
properties:
  dataField:
  stopAfterSuccessfulTransformation: false
  tokenDataProvider:
  tokenType: