Uses of Class
org.keycloak.validate.ValidationResult
Package
Description
-
Uses of ValidationResult in org.keycloak.userprofile.validator
Modifier and TypeMethodDescriptionMultiValueValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) -
Uses of ValidationResult in org.keycloak.validate
Modifier and TypeFieldDescriptionstatic final ValidationResult
ValidationResult.OK
An empty ValidationResult that's valid by default.Modifier and TypeMethodDescriptionstatic ValidationResult
ValidationResult.of
(Set<ValidationError> errors) static ValidationResult
ValidationResult.of
(ValidationError... errors) ValidationContext.toResult()
Creates aValidationResult
based on the current errors;default ValidationResult
ValidatorFactory.validateConfig
(KeycloakSession session, ValidatorConfig config) Validates the given validation config.Validators.validateConfig
(String id, ValidatorConfig config) static ValidationResult
Validators.validateConfig
(KeycloakSession session, String id, ValidatorConfig config) Modifier and TypeMethodDescriptionvoid
ValidationResult.ifNotValidAccept
(Consumer<ValidationResult> consumer) Convenience method that accepts aConsumer<ValidationResult>
if the result is not valid. -
Uses of ValidationResult in org.keycloak.validate.validators
Modifier and TypeMethodDescriptionAbstractNumberValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) EmailValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) LengthValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) LocalDateValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) OptionsValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) PatternValidator.validateConfig
(KeycloakSession session, ValidatorConfig config)