Class PatternRDN

java.lang.Object
org.opends.server.authorization.dseecompat.PatternRDN

public final class PatternRDN extends Object
This class is used to match RDN patterns containing wildcards in either the attribute types or the attribute values. Substring matching on the attribute types is not supported.
  • Method Details

    • addValue

      public void addValue(String type, List<ByteString> valuePattern, String dnString) throws LdapException
      Add another attribute-value pair to the pattern.
      Parameters:
      type - The attribute type pattern.
      valuePattern - The attribute value pattern.
      dnString - The DN pattern containing the attribute-value pair.
      Throws:
      LdapException - If the attribute-value pair is not valid.
    • toString

      public String toString()
      Overrides:
      toString in class Object