public interface ServiceAttributeValidator
ServiceAttributeValidator
should be implemented
by the services/applications if validator plugins are required.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-2016, ForgeRock All Rights Reserved.