Class NotEmptyValidator

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

public class NotEmptyValidator extends Object implements SimpleValidator
Check that input value is not empty. It means it is not null for all data types. For String it also have to be non-empty string (no trim() performed). For Collection and Map it also means it is not empty.
See Also: