Class UriValidator

java.lang.Object
org.keycloak.validate.AbstractSimpleValidator
org.keycloak.validate.validators.UriValidator
All Implemented Interfaces:
ConfiguredProvider, Provider, ProviderFactory<Validator>, SimpleValidator, Validator, ValidatorFactory

public class UriValidator extends AbstractSimpleValidator implements ConfiguredProvider
URI validation - accepts URI, URL and single String. Null input is valid, use other validators (like NotBlankValidator or NotEmptyValidator to force field as required.