Uses of Interface
org.keycloak.validate.ValidatorFactory
-
Packages that use ValidatorFactory Package Description org.keycloak.userprofile.validator org.keycloak.validate org.keycloak.validate.validators -
-
Uses of ValidatorFactory in org.keycloak.userprofile.validator
Classes in org.keycloak.userprofile.validator that implement ValidatorFactory Modifier and Type Class Description classAttributeRequiredByMetadataValidatorValidator to check that User Profile attribute value is not blank (nor null) if the attribute is required based on AttributeMetadata predicate.classBlankAttributeValidatorValidator to check that User Profile attribute value is not blank (null value is OK!).classBrokeringFederatedUsernameHasValueValidatorValidator to check that User Profile username is provided during Brokerin/Federation.classDuplicateEmailValidatorValidator to check User Profile email duplication conditions based on realm settings like isDuplicateEmailsAllowed.classDuplicateUsernameValidatorValidator to check that User Profile username already exists in database for another user in case of it's change, and fail in this case.classEmailExistsAsUsernameValidatorValidator to check User Profile email duplication conditions if isDuplicateEmailsAllowed is false but isRegistrationEmailAsUsername is true.classImmutableAttributeValidatorA validator that fails when the attribute is marked as read only and its value has changed.classPersonNameProhibitedCharactersValidatorThis validator disallowing bunch of characters we really not to expect in names of persons (fist, middle, last names).classReadOnlyAttributeUnchangedValidatorValidator to check that User Profile attribute value is not changed if attribute is read-only.classRegistrationEmailAsUsernameEmailValueValidatorValidator to check User Profile email attribute value during Registration when "RegistrationEmailAsUsername()" is enabled.classRegistrationEmailAsUsernameUsernameValueValidatorValidator to check User Profile username attribute value during Registration when "RegistrationEmailAsUsername()" is enabled.classRegistrationUsernameExistsValidatorValidator to check User Profile username attribute uniqueness during registration (when "RegistrationEmailAsUsername()" is NOT enabled).classUsernameHasValueValidatorValidator to check that User Profile username is provided.classUsernameIDNHomographValidatorValidator to check that User Profile username is provided.classUsernameMutationValidatorValidator to check User Profile username change and prevent it if not allowed in realm.classUsernameProhibitedCharactersValidatorThis validator disallowing bunch of characters we really not to expect in username. -
Uses of ValidatorFactory in org.keycloak.validate
Subinterfaces of ValidatorFactory in org.keycloak.validate Modifier and Type Interface Description interfaceSimpleValidatorConvenience interface to ease implementation of smallValidatorimplementations.Classes in org.keycloak.validate that implement ValidatorFactory Modifier and Type Class Description classAbstractSimpleValidatorBase class for arbitrary value type validators.classAbstractStringValidatorBase class for String value format validators.Methods in org.keycloak.validate that return ValidatorFactory Modifier and Type Method Description static ValidatorFactoryValidators. getInternalValidatorFactoryById(String id)ValidatorFactoryValidators. validatorFactory(String id)Look-up for a built-in or registeredValidatorFactorywith the given providerid.static ValidatorFactoryValidators. validatorFactory(KeycloakSession session, String id)Look-up for a built-in or registeredValidatorFactorywith the given validatorId. -
Uses of ValidatorFactory in org.keycloak.validate.validators
Classes in org.keycloak.validate.validators that implement ValidatorFactory Modifier and Type Class Description classAbstractNumberValidatorAbstract class for number validator.classDoubleValidatorValidate input being any kind ofNumber.classEmailValidatorEmail format validation - accepts plain string and collection of strings, for basic behavior like null/blank values handling and collections support seeAbstractStringValidator.classIntegerValidatorclassLengthValidatorString value length validation - accepts plain string and collection of strings, for basic behavior like null/blank values handling and collections support seeAbstractStringValidator.classLocalDateValidatorA date validator that only takes into account the format associated with the current locale.classNotBlankValidatorValidate that value exists and is not empty nor blank.classNotEmptyValidatorCheck that input value is not empty.classOptionsValidatorValidation 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.classPatternValidatorValidate String against configured RegEx pattern - accepts plain string and collection of strings, for basic behavior like null/blank values handling and collections support seeAbstractStringValidator.classUriValidatorclassValidatorConfigValidatorValidate 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).
-