public interface ServiceAttributeValidator
ServiceAttributeValidator
should be implemented
by the services/applications if validator plugins are required.Modifier and Type | Method and Description |
---|---|
boolean |
validate(Set<String> values)
Validates the given set of string values.
|
boolean validate(Set<String> values)
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"); }
values
- the Set
of attribute values to validateCopyright © 2010-2018, ForgeRock All Rights Reserved.