Uses of Interface
org.keycloak.validate.Validator
Packages that use Validator
Package
Description
-
Uses of Validator in org.keycloak.organization.validator
Classes in org.keycloak.organization.validator that implement Validator -
Uses of Validator in org.keycloak.userprofile.validator
Classes in org.keycloak.userprofile.validator that implement ValidatorModifier and TypeClassDescriptionclassValidator to check that User Profile attribute value is not blank (nor null) if the attribute is required based on AttributeMetadata predicate.classValidator to check that User Profile attribute value is not blank (null value is OK!).classValidator to check that User Profile username is provided during Brokerin/Federation.classValidator to check User Profile email duplication conditions based on realm settings like isDuplicateEmailsAllowed.classValidator to check that User Profile username already exists in database for another user in case of it's change, and fail in this case.classValidator to check User Profile email duplication conditions if isDuplicateEmailsAllowed is false but isRegistrationEmailAsUsername is true.classA validator that fails when the attribute is marked as read only and its value has changed.classclassThis validator disallowing bunch of characters we really not to expect in names of persons (fist, middle, last names).classValidator to check that User Profile attribute value is not changed if attribute is read-only.classValidator to check User Profile email attribute value during Registration when "RegistrationEmailAsUsername()" is enabled.classValidator to check User Profile username attribute value during Registration when "RegistrationEmailAsUsername()" is enabled.classValidator to check User Profile username attribute uniqueness during registration (when "RegistrationEmailAsUsername()" is NOT enabled).classValidator to check that User Profile username is provided.classValidator to check that User Profile username is provided.classValidator to check User Profile username change and prevent it if not allowed in realm.classThis 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.validateModifier and TypeInterfaceDescriptioninterfaceConvenience interface to ease implementation of smallValidatorimplementations.Classes in org.keycloak.validate that implement ValidatorModifier and TypeClassDescriptionclassBase class for arbitrary value type validators.classBase class for String value format validators.Methods in org.keycloak.validate that return ValidatorModifier and TypeMethodDescriptiondefault ValidatorSimpleValidator.create(KeycloakSession session) Eases access toValidator'sfor nested validation.Look-up for a built-in or registeredValidatorwith the given providerid.static ValidatorValidators.validator(KeycloakSession session, String id) Look-up up for a built-in or registeredValidatorwith the given validatorId. -
Uses of Validator in org.keycloak.validate.validators
Classes in org.keycloak.validate.validators that implement ValidatorModifier and TypeClassDescriptionclassAbstract class for number validator.classValidate input being any kind ofNumber.classEmail format validation - accepts plain string and collection of strings, for basic behavior like null/blank values handling and collections support seeAbstractStringValidator.classclassA date validator that only takes into account the format associated with the current locale.classString value length validation - accepts plain string and collection of strings, for basic behavior like null/blank values handling and collections support seeAbstractStringValidator.classA date validator that only takes into account the format associated with the current locale.classValidate that value exists and is not empty nor blank.classCheck that input value is not empty.classValidation 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.classValidate String against configured RegEx pattern - accepts plain string and collection of strings, for basic behavior like null/blank values handling and collections support seeAbstractStringValidator.classclassValidate that input value isValidatorConfigand it is correct for validator (inputHintmust be ID of the validator config is for) byValidators.validateConfig(org.keycloak.models.KeycloakSession, String, ValidatorConfig).