Interface ServiceAttributeValidator

    • Method Detail

      • validate

        boolean validate​(Set<String> values)
        Validates the given set of 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");
               }
         
        Parameters:
        values - the Set of attribute values to validate
        Returns:
        true if validates successfully; false otherwise