Package | Description |
---|---|
org.keycloak.userprofile.validator | |
org.keycloak.validate | |
org.keycloak.validate.validators |
Modifier and Type | Class and Description |
---|---|
class |
AttributeRequiredByMetadataValidator
Validator to check that User Profile attribute value is not blank (nor null) if the attribute is required based on
AttributeMetadata predicate.
|
class |
BlankAttributeValidator
Validator to check that User Profile attribute value is not blank (null value is OK!).
|
class |
BrokeringFederatedUsernameHasValueValidator
Validator to check that User Profile username is provided during Brokerin/Federation.
|
class |
DuplicateEmailValidator
Validator to check User Profile email duplication conditions based on realm settings like isDuplicateEmailsAllowed.
|
class |
DuplicateUsernameValidator
Validator to check that User Profile username already exists in database for another user in case of it's change, and
fail in this case.
|
class |
EmailExistsAsUsernameValidator
Validator to check User Profile email duplication conditions if isDuplicateEmailsAllowed is false but
isRegistrationEmailAsUsername is true.
|
class |
ImmutableAttributeValidator
A validator that fails when the attribute is marked as read only and its value has changed.
|
class |
ReadOnlyAttributeUnchangedValidator
Validator to check that User Profile attribute value is not changed if attribute is read-only.
|
class |
RegistrationEmailAsUsernameEmailValueValidator
Validator to check User Profile email attribute value during Registration when "RegistrationEmailAsUsername()" is
enabled.
|
class |
RegistrationEmailAsUsernameUsernameValueValidator
Validator to check User Profile username attribute value during Registration when "RegistrationEmailAsUsername()" is
enabled.
|
class |
RegistrationUsernameExistsValidator
Validator to check User Profile username attribute uniqueness during registration (when
"RegistrationEmailAsUsername()" is NOT enabled).
|
class |
UsernameHasValueValidator
Validator to check that User Profile username is provided.
|
class |
UsernameMutationValidator
Validator to check User Profile username change and prevent it if not allowed in realm.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSimpleValidator
Base class for arbitrary value type validators.
|
class |
AbstractStringValidator
Base class for String value format validators.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractNumberValidator
Abstract class for number validator.
|
class |
DoubleValidator
Validate input being any kind of
Number . |
class |
EmailValidator
Email format validation - accepts plain string and collection of strings, for basic behavior like null/blank values
handling and collections support see
AbstractStringValidator . |
class |
IntegerValidator
|
class |
LengthValidator
String value length validation - accepts plain string and collection of strings, for basic behavior like null/blank
values handling and collections support see
AbstractStringValidator . |
class |
LocalDateValidator
A date validator that only takes into account the format associated with the current locale.
|
class |
NotBlankValidator
Validate that value exists and is not empty nor blank.
|
class |
NotEmptyValidator
Check that input value is not empty.
|
class |
PatternValidator
Validate String against configured RegEx pattern - accepts plain string and collection of strings, for basic behavior
like null/blank values handling and collections support see
AbstractStringValidator . |
class |
UriValidator
|
class |
ValidatorConfigValidator
Validate that input value is
ValidatorConfig and it is correct for validator (inputHint must be
ID of the validator config is for) by
Validators.validateConfig(org.keycloak.models.KeycloakSession, String, ValidatorConfig) . |
Copyright © 2021 JBoss by Red Hat. All rights reserved.