← Back to plugin index

Context Data User Validator

Description
Validates a user based on allowed values in a specified context data field.
Type name
ContextDataUserValidator
Class
com.airlock.iam.core.misc.impl.authen.ContextDataUserValidator
May be used by
Properties
Context Field (contextField)
Description
Name of the context field with the values that should be checked. If the user does not have this context field (i.e. it is null), then the user is considered to be invalid.
Attributes
String
Mandatory
Example
status
Example
is_locked
Allowed Values (allowedValues)
Description
List of allowed values for the context data field. The field must contain one of these values in order to be valid.
Attributes
String-List
Mandatory
YAML Template (with default values)

type: ContextDataUserValidator
id: ContextDataUserValidator-xxxxxx
displayName: 
comment: 
properties:
  allowedValues:
  contextField: