Uses of Class
org.keycloak.validate.ValidationContext
Package
Description
-
Uses of ValidationContext in org.keycloak.organization.validator
Modifier and TypeMethodDescriptionprotected void
OrganizationMemberValidator.doValidate
(Object value, String inputHint, ValidationContext context, ValidatorConfig config) -
Uses of ValidationContext in org.keycloak.userprofile
Modifier and TypeClassDescriptionclass
Extension of theValidationContext
used when validators are called forUserProfile
attribute validation.Modifier and TypeMethodDescriptionAttributeValidatorMetadata.validate
(AttributeContext context) Run validation for given AttributeContext.Modifier and TypeMethodDescriptionUserProfileAttributeValidationContext.from
(ValidationContext vc) Easy way to cast me fromValidationContext
inValidator
implementation -
Uses of ValidationContext in org.keycloak.userprofile.validator
Modifier and TypeMethodDescriptionAttributeRequiredByMetadataValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) BlankAttributeValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) BrokeringFederatedUsernameHasValueValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) DuplicateEmailValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) DuplicateUsernameValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) EmailExistsAsUsernameValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) ImmutableAttributeValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) MultiValueValidator.validate
(Object value, String inputHint, ValidationContext context, ValidatorConfig config) ReadOnlyAttributeUnchangedValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) RegistrationEmailAsUsernameEmailValueValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) RegistrationEmailAsUsernameUsernameValueValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) RegistrationUsernameExistsValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) UsernameHasValueValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) UsernameIDNHomographValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) UsernameMutationValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) Modifier and TypeMethodDescriptionprotected void
PersonNameProhibitedCharactersValidator.doValidate
(String value, String inputHint, ValidationContext context, ValidatorConfig config) protected void
UsernameProhibitedCharactersValidator.doValidate
(String value, String inputHint, ValidationContext context, ValidatorConfig config) AttributeRequiredByMetadataValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) BlankAttributeValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) BrokeringFederatedUsernameHasValueValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) DuplicateEmailValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) DuplicateUsernameValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) EmailExistsAsUsernameValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) ImmutableAttributeValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) MultiValueValidator.validate
(Object value, String inputHint, ValidationContext context, ValidatorConfig config) ReadOnlyAttributeUnchangedValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) RegistrationEmailAsUsernameEmailValueValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) RegistrationEmailAsUsernameUsernameValueValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) RegistrationUsernameExistsValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) UsernameHasValueValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) UsernameIDNHomographValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) UsernameMutationValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) -
Uses of ValidationContext in org.keycloak.validate
Modifier and TypeMethodDescriptionAbstractSimpleValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) default ValidationContext
Validates the giveninput
.default ValidationContext
Validates the giveninput
with an additionalinputHint
.default ValidationContext
Validator.validate
(Object input, String inputHint, ValidationContext context) Validates the giveninput
with an additionalinputHint
.Validator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) Validates the giveninput
with an additionalinputHint
andconfig
.default ValidationContext
Validator.validate
(Object input, String inputHint, ValidatorConfig config) Validates the giveninput
with an additionalinputHint
.default ValidationContext
Validator.validate
(Object input, ValidationContext context) Validates the giveninput
.Modifier and TypeMethodDescriptionprotected abstract void
AbstractSimpleValidator.doValidate
(Object value, String inputHint, ValidationContext context, ValidatorConfig config) Validate type, format, range of the value etc.protected void
AbstractStringValidator.doValidate
(Object value, String inputHint, ValidationContext context, ValidatorConfig config) protected abstract void
AbstractStringValidator.doValidate
(String value, String inputHint, ValidationContext context, ValidatorConfig config) AbstractSimpleValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) default ValidationContext
Validator.validate
(Object input, String inputHint, ValidationContext context) Validates the giveninput
with an additionalinputHint
.Validator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) Validates the giveninput
with an additionalinputHint
andconfig
.default ValidationContext
Validator.validate
(Object input, ValidationContext context) Validates the giveninput
. -
Uses of ValidationContext in org.keycloak.validate.validators
Modifier and TypeMethodDescriptionNotBlankValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) NotEmptyValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) ValidatorConfigValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) Modifier and TypeMethodDescriptionprotected void
AbstractNumberValidator.doValidate
(Object value, String inputHint, ValidationContext context, ValidatorConfig config) protected void
EmailValidator.doValidate
(String value, String inputHint, ValidationContext context, ValidatorConfig config) protected void
IsoDateValidator.doValidate
(String value, String inputHint, ValidationContext context, ValidatorConfig config) protected void
LengthValidator.doValidate
(String value, String inputHint, ValidationContext context, ValidatorConfig config) protected void
LocalDateValidator.doValidate
(String value, String inputHint, ValidationContext context, ValidatorConfig config) protected void
OptionsValidator.doValidate
(String value, String inputHint, ValidationContext context, ValidatorConfig config) protected void
PatternValidator.doValidate
(String value, String inputHint, ValidationContext context, ValidatorConfig config) protected void
UriValidator.doValidate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) NotBlankValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) NotEmptyValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) ValidatorConfigValidator.validate
(Object input, String inputHint, ValidationContext context, ValidatorConfig config) protected boolean
NotBlankValidator.validateStringValue
(String value, String inputHint, ValidationContext context, ValidatorConfig config) boolean
UriValidator.validateUri
(URI uri, String inputHint, ValidationContext context, Set<String> allowedSchemes, boolean allowFragment, boolean requireValidUrl)