Uses of Class
org.keycloak.validate.ValidationResult
-
Uses of ValidationResult in org.keycloak.validate
Modifier and TypeFieldDescriptionstatic final ValidationResult
ValidationResult.OK
An empty ValidationResult that's valid by default.Modifier and TypeMethodDescriptionValidationContext.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) LengthValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) LocalDateValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) OptionsValidator.validateConfig
(KeycloakSession session, ValidatorConfig config) PatternValidator.validateConfig
(KeycloakSession session, ValidatorConfig config)