public class IPAddressValidator extends Object implements ServiceAttributeValidator
IPAddressValidator
is used to check if the IP
address is syntactically correct.Constructor and Description |
---|
IPAddressValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(Set<String> values)
Validates a set of string IP address.
|
boolean |
validate(String value)
Validates an IP address.
|
public boolean validate(Set<String> values)
validate
in interface ServiceAttributeValidator
values
- the set of IP address to validatepublic boolean validate(String value)
value
- the IP address to validateCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.