Uses of Interface
org.keycloak.validate.ValidatorFactory
Package
Description
-
Uses of ValidatorFactory in org.keycloak.organization.validator
-
Uses of ValidatorFactory in org.keycloak.userprofile.validator
Modifier and TypeClassDescriptionclass
Validator to check that User Profile attribute value is not blank (nor null) if the attribute is required based on AttributeMetadata predicate.class
Validator to check that User Profile attribute value is not blank (null value is OK!).class
Validator to check that User Profile username is provided during Brokerin/Federation.class
Validator to check User Profile email duplication conditions based on realm settings like isDuplicateEmailsAllowed.class
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
Validator to check User Profile email duplication conditions if isDuplicateEmailsAllowed is false but isRegistrationEmailAsUsername is true.class
A validator that fails when the attribute is marked as read only and its value has changed.class
class
This validator disallowing bunch of characters we really not to expect in names of persons (fist, middle, last names).class
Validator to check that User Profile attribute value is not changed if attribute is read-only.class
Validator to check User Profile email attribute value during Registration when "RegistrationEmailAsUsername()" is enabled.class
Validator to check User Profile username attribute value during Registration when "RegistrationEmailAsUsername()" is enabled.class
Validator to check User Profile username attribute uniqueness during registration (when "RegistrationEmailAsUsername()" is NOT enabled).class
Validator to check that User Profile username is provided.class
Validator to check that User Profile username is provided.class
Validator to check User Profile username change and prevent it if not allowed in realm.class
This validator disallowing bunch of characters we really not to expect in username. -
Uses of ValidatorFactory in org.keycloak.validate
Modifier and TypeInterfaceDescriptioninterface
Convenience interface to ease implementation of smallValidator
implementations.Modifier and TypeClassDescriptionclass
Base class for arbitrary value type validators.class
Base class for String value format validators.Modifier and TypeMethodDescriptionValidators.validatorFactory
(String id) Look-up for a built-in or registeredValidatorFactory
with the given providerid
.static ValidatorFactory
Validators.validatorFactory
(KeycloakSession session, String id) Look-up for a built-in or registeredValidatorFactory
with the given validatorId. -
Uses of ValidatorFactory in org.keycloak.validate.validators
Modifier and TypeClassDescriptionclass
Abstract class for number validator.class
Validate input being any kind ofNumber
.class
Email format validation - accepts plain string and collection of strings, for basic behavior like null/blank values handling and collections support seeAbstractStringValidator
.class
class
A date validator that only takes into account the format associated with the current locale.class
String value length validation - accepts plain string and collection of strings, for basic behavior like null/blank values handling and collections support seeAbstractStringValidator
.class
A date validator that only takes into account the format associated with the current locale.class
Validate that value exists and is not empty nor blank.class
Check that input value is not empty.class
Validation against list of allowed values - accepts plain string and collection of strings (every value is validated against allowed values), for basic behavior like null/blank values handling and collections support seeAbstractStringValidator
.class
Validate String against configured RegEx pattern - accepts plain string and collection of strings, for basic behavior like null/blank values handling and collections support seeAbstractStringValidator
.class
class
Validate that input value isValidatorConfig
and it is correct for validator (inputHint
must be ID of the validator config is for) byValidators.validateConfig(org.keycloak.models.KeycloakSession, String, ValidatorConfig)
.