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.
May be used by
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: