Uses of Class
org.keycloak.validate.ValidationError
-
Uses of ValidationError in org.keycloak.userprofile
-
Uses of ValidationError in org.keycloak.validate
Modifier and TypeMethodDescriptionValidationError.setStatusCode
(jakarta.ws.rs.core.Response.Status statusCode) Modifier and TypeMethodDescriptionValidationContext.getErrors()
ValidationResult.getErrors()
ValidationResult.getErrorsForInputHint
(String inputHint) Returns aSet
ofValidationError's
with the giveninputHint
if present, otherwise an emptySet
is returned.ValidationResult.getErrorsForValidatorId
(String id) Returns aSet
ofValidationError's
from theValidator
with the givenid
if present, otherwise an emptySet
is returned.Modifier and TypeMethodDescriptionvoid
ValidationContext.addError
(ValidationError error) Adds anValidationError
.Modifier and TypeMethodDescriptionvoid
ValidationResult.forEachError
(Consumer<ValidationError> consumer) Convenience method that accepts aConsumer<ValidationError>
.ModifierConstructorDescriptionprotected
ValidationContext
(KeycloakSession session, Set<ValidationError> errors) Creates a newValidationContext
.ValidationResult
(Set<ValidationError> errors) Creates a newValidationResult
from the given errors.