← Back to plugin index

Primary Key Lookup

Description
This username transformer is not designed to transform usernames but it can make the transformer chain more efficient. Because lookups and transformations of username aliases may be inefficient, this plugin takes a user store and checks if a user with the given user ID exists. If the user store finds a user, the transformers chain is interrupted (no further transformations are applied). The ID of the retrieved user is returned as the transformation result. This makes this plugin also suitable to look up the stored user ID from a case-insensitive database.
Type name
PrimaryKeyLookupTransformer
Class
com.airlock.iam.core.misc.impl.authen.PrimaryKeyLookupTransformer
May be used by
Properties
User Store (userStore)
Description
This user store is used to load the user. If the user is found, the chain of transformers is stopped.
Attributes
Plugin-Link
Mandatory
Assignable plugins
YAML Template (with default values)

type: PrimaryKeyLookupTransformer
id: PrimaryKeyLookupTransformer-xxxxxx
displayName: 
comment: 
properties:
  userStore: