Package org.ldaptive

Class CompareRequest

  • All Implemented Interfaces:

    public class CompareRequest
    extends AbstractRequestMessage
    LDAP compare request defined as:
       CompareRequest ::= [APPLICATION 14] SEQUENCE {
         entry           LDAPDN,
         ava             AttributeValueAssertion }
    • Field Detail

      • ldapDn

        private String ldapDn
        LDAP DN to compare.
      • attributeDesc

        private String attributeDesc
        Attribute description
      • assertionValue

        private String assertionValue
        Assertion value.
    • Constructor Detail

      • CompareRequest

        private CompareRequest()
        Default constructor.
      • CompareRequest

        public CompareRequest​(String dn,
                              String name,
                              String value)
        Creates a new compare request.
        dn - to compare
        name - attribute description
        value - assertion value