Uses of Class
org.keycloak.validate.ValidatorConfig
-
Packages that use ValidatorConfig Package Description org.keycloak.userprofile org.keycloak.userprofile.validator org.keycloak.validate org.keycloak.validate.validators -
-
Uses of ValidatorConfig in org.keycloak.userprofile
Constructors in org.keycloak.userprofile with parameters of type ValidatorConfig Constructor Description AttributeValidatorMetadata(String validatorId, ValidatorConfig validatorConfig)
-
Uses of ValidatorConfig in org.keycloak.userprofile.validator
Methods in org.keycloak.userprofile.validator that return ValidatorConfig Modifier and Type Method Description static ValidatorConfig
BlankAttributeValidator. createConfig(String errorMessage, boolean failOnNull)
Create config for this validator to get customized error messageMethods in org.keycloak.userprofile.validator with parameters of type ValidatorConfig Modifier and Type Method Description protected void
PersonNameProhibitedCharactersValidator. doValidate(String value, String inputHint, ValidationContext context, ValidatorConfig config)
protected void
UsernameProhibitedCharactersValidator. doValidate(String value, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
AttributeRequiredByMetadataValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
BlankAttributeValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
BrokeringFederatedUsernameHasValueValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
DuplicateEmailValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
DuplicateUsernameValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
EmailExistsAsUsernameValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
ImmutableAttributeValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
ReadOnlyAttributeUnchangedValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
RegistrationEmailAsUsernameEmailValueValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
RegistrationEmailAsUsernameUsernameValueValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
RegistrationUsernameExistsValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
UsernameHasValueValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
UsernameIDNHomographValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
UsernameMutationValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
-
Uses of ValidatorConfig in org.keycloak.validate
Fields in org.keycloak.validate declared as ValidatorConfig Modifier and Type Field Description static ValidatorConfig
ValidatorConfig. EMPTY
An emptyValidatorConfig
.Methods in org.keycloak.validate that return ValidatorConfig Modifier and Type Method Description ValidatorConfig
ValidatorConfig.ValidatorConfigBuilder. build()
static ValidatorConfig
ValidatorConfig. configFromMap(Map<String,Object> map)
Static helper to create aValidatorConfig
from the givenmap
.Methods in org.keycloak.validate with parameters of type ValidatorConfig Modifier and Type Method Description ValidatorConfig.ValidatorConfigBuilder
ValidatorConfig.ValidatorConfigBuilder. config(ValidatorConfig values)
Add all configurations from other configprotected 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)
protected boolean
AbstractSimpleValidator. isIgnoreEmptyValuesConfigured(ValidatorConfig config)
Default implementation only looks forAbstractSimpleValidator.IGNORE_EMPTY_VALUE
configuration option.protected abstract boolean
AbstractSimpleValidator. skipValidation(Object value, ValidatorConfig config)
Decide if validation of individual value should be skipped or not.protected boolean
AbstractStringValidator. skipValidation(Object value, ValidatorConfig config)
ValidationContext
AbstractSimpleValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
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, ValidatorConfig config)
Validates the giveninput
with an additionalconfig
.default ValidationResult
ValidatorFactory. validateConfig(KeycloakSession session, ValidatorConfig config)
Validates the given validation config.ValidationResult
Validators. validateConfig(String id, ValidatorConfig config)
static ValidationResult
Validators. validateConfig(KeycloakSession session, String id, ValidatorConfig config)
-
Uses of ValidatorConfig in org.keycloak.validate.validators
Methods in org.keycloak.validate.validators with parameters of type ValidatorConfig Modifier and Type Method Description protected abstract Number
AbstractNumberValidator. convert(Object value, ValidatorConfig config)
Convert input value to instance of Number supported by this validator.protected Number
DoubleValidator. convert(Object value, ValidatorConfig config)
protected Number
IntegerValidator. convert(Object value, ValidatorConfig config)
protected 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
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 abstract Number
AbstractNumberValidator. getMinMaxConfig(ValidatorConfig config, String key)
Get config value for min and max validation bound as a Number supported by this validatorprotected Number
DoubleValidator. getMinMaxConfig(ValidatorConfig config, String key)
protected Number
IntegerValidator. getMinMaxConfig(ValidatorConfig config, String key)
protected boolean
LocalDateValidator. isIgnoreEmptyValuesConfigured(ValidatorConfig config)
protected String
LengthValidator. selectErrorMessage(ValidatorConfig config)
Select error message depending on the allowed length interval bound configuration.protected String
AbstractNumberValidator. selectRangeErrorMessage(ValidatorConfig config)
Select error message depending on the allowed range interval bound configuration.protected boolean
AbstractNumberValidator. skipValidation(Object value, ValidatorConfig config)
ValidationContext
NotBlankValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
NotEmptyValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
UriValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationContext
ValidatorConfigValidator. validate(Object input, String inputHint, ValidationContext context, ValidatorConfig config)
ValidationResult
AbstractNumberValidator. validateConfig(KeycloakSession session, ValidatorConfig config)
ValidationResult
LengthValidator. validateConfig(KeycloakSession session, ValidatorConfig config)
ValidationResult
LocalDateValidator. validateConfig(KeycloakSession session, ValidatorConfig config)
ValidationResult
OptionsValidator. validateConfig(KeycloakSession session, ValidatorConfig config)
ValidationResult
PatternValidator. validateConfig(KeycloakSession session, ValidatorConfig config)
protected boolean
NotBlankValidator. validateStringValue(String value, String inputHint, ValidationContext context, ValidatorConfig config)
Constructors in org.keycloak.validate.validators with parameters of type ValidatorConfig Constructor Description AbstractNumberValidator(ValidatorConfig config)
DoubleValidator(ValidatorConfig config)
IntegerValidator(ValidatorConfig config)
-