From 5cdce74a9ac94e3a4b5e369b22ab6fcf9bbbb384 Mon Sep 17 00:00:00 2001
From: abobrov <abobrov@localhost>
Date: Mon, 18 May 2009 23:17:06 +0000
Subject: [PATCH] - patch [Issue 3984] & [Issue 3989] : Security issues with Assertion, Pre-Read, Post-Read Controls.

---
 opends/src/server/org/opends/server/authorization/dseecompat/AciLDAPOperationContainer.java |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 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..6e14b0b 100644
--- a/opends/src/server/org/opends/server/authorization/dseecompat/AciLDAPOperationContainer.java
+++ b/opends/src/server/org/opends/server/authorization/dseecompat/AciLDAPOperationContainer.java
@@ -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