Uses of Interface
org.keycloak.validate.Validator
-
Packages that use Validator Package Description org.keycloak.userprofile.validator org.keycloak.validate org.keycloak.validate.validators -
-
Uses of Validator in org.keycloak.userprofile.validator
Classes in org.keycloak.userprofile.validator that implement Validator Modifier and Type Class 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
PersonNameProhibitedCharactersValidator
This validator disallowing bunch of characters we really not to expect in names of persons (fist, middle, last names).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
UsernameIDNHomographValidator
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.class
UsernameProhibitedCharactersValidator
This validator disallowing bunch of characters we really not to expect in username. -
Uses of Validator in org.keycloak.validate
Subinterfaces of Validator in org.keycloak.validate Modifier and Type Interface Description interface
SimpleValidator
Convenience interface to ease implementation of smallValidator
implementations.Classes in org.keycloak.validate that implement Validator Modifier and Type Class Description class
AbstractSimpleValidator
Base class for arbitrary value type validators.class
AbstractStringValidator
Base class for String value format validators.Methods in org.keycloak.validate that return Validator Modifier and Type Method Description default Validator
SimpleValidator. create(KeycloakSession session)
static Validator
Validators. getInternalValidatorById(String id)
Validator
ValidationContext. validator(String validatorId)
Eases access toValidator's
for nested validation.Validator
Validators. validator(String id)
Look-up for a built-in or registeredValidator
with the given providerid
.static Validator
Validators. validator(KeycloakSession session, String id)
Look-up up for a built-in or registeredValidator
with the given validatorId.Methods in org.keycloak.validate that return types with arguments of type Validator Modifier and Type Method Description static Map<String,Validator>
Validators. getInternalValidators()
-
Uses of Validator in org.keycloak.validate.validators
Classes in org.keycloak.validate.validators that implement Validator Modifier and Type Class Description class
AbstractNumberValidator
Abstract class for number validator.class
DoubleValidator
Validate input being any kind ofNumber
.class
EmailValidator
Email format validation - accepts plain string and collection of strings, for basic behavior like null/blank values handling and collections support seeAbstractStringValidator
.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 seeAbstractStringValidator
.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
OptionsValidator
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
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 seeAbstractStringValidator
.class
UriValidator
class
ValidatorConfigValidator
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)
.
-