Class PersonNameProhibitedCharactersValidator

java.lang.Object
org.keycloak.validate.AbstractSimpleValidator
org.keycloak.validate.AbstractStringValidator
org.keycloak.userprofile.validator.PersonNameProhibitedCharactersValidator
All Implemented Interfaces:
ConfiguredProvider, Provider, ProviderFactory<Validator>, SimpleValidator, Validator, ValidatorFactory

public class PersonNameProhibitedCharactersValidator extends AbstractStringValidator implements ConfiguredProvider
This validator disallowing bunch of characters we really not to expect in names of persons (fist, middle, last names).

Validates against hardcoded RegEx pattern - accepts plain string and collection of strings, for basic behavior like null/blank values handling and collections support see AbstractStringValidator.