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

dugan
21.56.2007 d428f48a4cf79de5e3f7cbc38a2c1af7a0b80e4f
opends/src/server/org/opends/server/authorization/dseecompat/AciLDAPOperationContainer.java
@@ -30,10 +30,9 @@
import java.util.List;
import org.opends.server.core.*;
import org.opends.server.types.Modification;
import org.opends.server.types.SearchResultEntry;
import org.opends.server.types.Entry;
import org.opends.server.types.*;
import org.opends.server.workflowelement.localbackend.*;
import static org.opends.server.authorization.dseecompat.Aci.ACI_READ;
/**
 * The AciLDAPOperationContainer is an AciContainer
@@ -65,6 +64,18 @@
    }
    /**
     * Constructor interface for control evaluation.
     *
     * @param operation The operation to evaluate.
     * @param e An entry built especially for control evaluation.
     * @param oid The control's oid string.
     */
    public AciLDAPOperationContainer(Operation operation, Entry e, String oid) {
      super(operation, (ACI_READ), e );
      setControlOID(oid);
    }
    /**
     * Constructor interface for the add operation.
     * @param operation The add operation to evaluate.
     * @param rights  The rights of an add operation.
@@ -81,8 +92,7 @@
     * @param rights  The rights of a delete operation.
     */
    public AciLDAPOperationContainer(LocalBackendDeleteOperation operation,
        int rights)
    {
                                     int rights) {
        super(operation, rights, operation.getEntryToDelete());
    }