From 67405dde9ba213331dab1fc46cb18c485070fd5b Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 05 Jun 2009 09:04:50 +0000
Subject: [PATCH] svn merge -r5333:5417 https://opends.dev.java.net/svn/opends/branches/b2.0

---
 opends/src/server/org/opends/server/authorization/dseecompat/AciLDAPOperationContainer.java |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/authorization/dseecompat/AciLDAPOperationContainer.java b/opends/src/server/org/opends/server/authorization/dseecompat/AciLDAPOperationContainer.java
index 8354477..5840077 100644
--- a/opends/src/server/org/opends/server/authorization/dseecompat/AciLDAPOperationContainer.java
+++ b/opends/src/server/org/opends/server/authorization/dseecompat/AciLDAPOperationContainer.java
@@ -22,7 +22,7 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2008 Sun Microsystems, Inc.
+ *      Copyright 2008-2009 Sun Microsystems, Inc.
  */
 
 package org.opends.server.authorization.dseecompat;
@@ -51,6 +51,20 @@
     private List<Modification>  modifications;
 
     /**
+     * Constructor interface for all currently supported LDAP operations.
+     * @param operation The compare operation to evaluate.
+     * @param rights The rights of a compare operation.
+     * @param entry The entry for evaluation.
+     */
+    public AciLDAPOperationContainer(Operation operation,
+      int rights, Entry entry)
+    {
+      super(operation, rights, entry);
+      this.searchEntry = new SearchResultEntry(entry);
+    }
+
+
+    /**
      * Constructor interface for the compare operation.
      * @param operation The compare operation to evaluate.
      * @param rights  The rights of a compare operation.
@@ -58,7 +72,7 @@
     public AciLDAPOperationContainer(LocalBackendCompareOperation operation,
         int rights)
     {
-        super(operation, rights, operation.getEntryToCompare());
+      super(operation, rights, operation.getEntryToCompare());
     }
 
 

--
Gitblit v1.10.0