From fbda6e0892dcfcc8dd43d21f6fb134aabb8d0cac Mon Sep 17 00:00:00 2001
From: jarnou <jarnou@localhost>
Date: Tue, 03 Jul 2007 09:29:17 +0000
Subject: [PATCH] Commits the refactoring of the core server to provide support for proxy/distribution/virtual functionnalities. This includes the new set of local operations, as well as the workflow and networkgroup support.
---
opends/src/server/org/opends/server/authorization/dseecompat/AciLDAPOperationContainer.java | 19 ++++++++++++++-----
1 files changed, 14 insertions(+), 5 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 cf1898d..2f791e4 100644
--- a/opends/src/server/org/opends/server/authorization/dseecompat/AciLDAPOperationContainer.java
+++ b/opends/src/server/org/opends/server/authorization/dseecompat/AciLDAPOperationContainer.java
@@ -33,6 +33,7 @@
import org.opends.server.types.Modification;
import org.opends.server.types.SearchResultEntry;
import org.opends.server.types.Entry;
+import org.opends.server.workflowelement.localbackend.*;
/**
* The AciLDAPOperationContainer is an AciContainer
@@ -66,7 +67,9 @@
* @param operation The add operation to evaluate.
* @param rights The rights of an add operation.
*/
- public AciLDAPOperationContainer(AddOperation operation, int rights) {
+ public AciLDAPOperationContainer(LocalBackendAddOperation operation,
+ int rights)
+ {
super(operation, rights, operation.getEntryToAdd());
}
@@ -75,7 +78,9 @@
* @param operation The add operation to evaluate.
* @param rights The rights of a delete operation.
*/
- public AciLDAPOperationContainer(DeleteOperation operation, int rights) {
+ public AciLDAPOperationContainer(LocalBackendDeleteOperation operation,
+ int rights)
+ {
super(operation, rights, operation.getEntryToDelete());
}
@@ -84,7 +89,9 @@
* @param rights The rights of modify operation.
* @param operation The add operation to evaluate.
*/
- public AciLDAPOperationContainer(ModifyOperation operation, int rights) {
+ public AciLDAPOperationContainer(LocalBackendModifyOperation operation,
+ int rights)
+ {
super(operation, rights, operation.getCurrentEntry());
this.modifications=operation.getModifications();
}
@@ -106,8 +113,10 @@
* @param rights The rights of a search operation.
* @param entry The entry to be evaluated for this search.
*/
- public AciLDAPOperationContainer(SearchOperation operation, int rights,
- SearchResultEntry entry) {
+ public AciLDAPOperationContainer(SearchOperation operation,
+ int rights,
+ SearchResultEntry entry)
+ {
super(operation, rights, entry);
this.searchEntry = entry;
}
--
Gitblit v1.10.0