Package org.ldaptive

Class AddRequest

  • All Implemented Interfaces:
    Request

    public class AddRequest
    extends AbstractRequestMessage
    LDAP add request defined as:
       AddRequest ::= [APPLICATION 8] SEQUENCE {
         entry           LDAPDN,
         attributes      AttributeList }
    
       AttributeList ::= SEQUENCE OF attribute Attribute
     
    Author:
    Middleware Services
    • Field Detail

    • Constructor Detail

      • AddRequest

        public AddRequest​(java.lang.String dn,
                          LdapAttribute... attrs)
        Creates a new add request.
        Parameters:
        dn - DN to add
        attrs - to add to the entry
      • AddRequest

        public AddRequest​(java.lang.String dn,
                          java.util.Collection<LdapAttribute> attrs)
        Creates a new add request.
        Parameters:
        dn - DN to add
        attrs - to add to the entry