mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Chris Ridd
30.38.2012 70d594cec595cab0f430c0d1bdca41a2770cbfea
opends/src/dsml/org/opends/dsml/protocol/DSMLAddOperation.java
@@ -71,6 +71,7 @@
   *
   * @param  objFactory  The object factory for this operation.
   * @param  addRequest  The add request for this operation.
   * @param  controls    Any required controls (e.g. for proxy authz).
   *
   * @return  The result of the add operation.
   *
@@ -83,7 +84,8 @@
   *                         element.
   */
  public LDAPResult doOperation(ObjectFactory objFactory,
        AddRequest addRequest)
        AddRequest addRequest,
        List<org.opends.server.types.Control> controls)
    throws IOException, LDAPException, ASN1Exception
  {
    LDAPResult addResponse = objFactory.createLDAPResult();
@@ -107,7 +109,8 @@
    // Create and send the LDAP request to the server.
    ProtocolOp op = new AddRequestProtocolOp(dnStr, attributes);
    LDAPMessage msg = new LDAPMessage(DSMLServlet.nextMessageID(), op);
    LDAPMessage msg = new LDAPMessage(DSMLServlet.nextMessageID(), op,
        controls);
    connection.getLDAPWriter().writeMessage(msg);
    // Read and decode the LDAP response from the server.