Class PatternRDN


  • public 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 Detail

      • 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.