← Back to plugin index

Simple Realm Username Validator

Description

Validates that the names of users created by an administrator in simple realm mode match a given pattern.

If the validation fails, the corresponding error type is WRONG_FORMAT.

Type name
RealmUsernameValidator
Class
com.airlock.iam.admin.application.configuration.realm.RealmUsernameValidatorConfig
May be used by
License-Tags
RealmAdministration
Properties
Username Pattern (usernamePattern)
Description
Defines a regular expression that is matched against usernames when they are created by an administrator in simple realm mode. Use the placeholder @realm@ in the pattern where the current administrator's realm is expected. The placeholder will be resolved to the administrator's realm when a user is being created.
Attributes
String
Mandatory
Example
@realm@_[\S]{2,}
Example
@realm@-[a-z]{4,}
YAML Template (with default values)

type: RealmUsernameValidator
id: RealmUsernameValidator-xxxxxx
displayName: 
comment: 
properties:
  usernamePattern: