public class EmailValidator extends Object implements ServiceAttributeValidator
EmailValidator
is used to check if the Email address
is syntactically correct according to valid format defined in RFC 822. Email
address must contain an @ symbol as well as syntactically correct username
and domain information e.g. name@domain.comConstructor and Description |
---|
EmailValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(Set<String> values)
Validates a set of email address.
|
boolean |
validate(String value)
Validates an email address.
|
public boolean validate(Set<String> values)
validate
in interface ServiceAttributeValidator
values
- the set of string email address to validatepublic boolean validate(String value)
value
- an email addressCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.