public class URLValidator extends Object implements ServiceAttributeValidator
Constructor and Description |
---|
URLValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
validate(Set<String> values)
Validates the given set of string values.
|
public boolean validate(Set<String> values)
ServiceAttributeValidator
Example: Set values = new HashSet(); values.add("o=iplanet.com"); values.add("uid=amadmin,ou=people,o=isp"); if ( DNValidator.validate(values) ) { System.out.println("valid attribute values"); } else { System.out.println("invalid attribute values"); }
validate
in interface ServiceAttributeValidator
values
- the Set
of attribute values to validateCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.