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/core/DefaultAccessControlProvider.java | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/DefaultAccessControlProvider.java b/opends/src/server/org/opends/server/core/DefaultAccessControlProvider.java
index 6800688..0c9867e 100644
--- a/opends/src/server/org/opends/server/core/DefaultAccessControlProvider.java
+++ b/opends/src/server/org/opends/server/core/DefaultAccessControlProvider.java
@@ -30,11 +30,8 @@
import org.opends.server.api.AccessControlHandler;
import org.opends.server.api.AccessControlProvider;
import org.opends.server.config.ConfigException;
-import org.opends.server.types.InitializationException;
-import org.opends.server.types.Operation;
-import org.opends.server.types.SearchResultEntry;
-import org.opends.server.types.SearchResultReference;
import org.opends.server.types.*;
+import org.opends.server.workflowelement.localbackend.*;
/**
* This class implements a default access control provider for the
@@ -103,7 +100,7 @@
* {@inheritDoc}
*/
@Override
- public boolean isAllowed(AddOperation addOperation) {
+ public boolean isAllowed(LocalBackendAddOperation addOperation) {
return true;
}
@@ -112,7 +109,7 @@
* {@inheritDoc}
*/
@Override
- public boolean isAllowed(BindOperation bindOperation) {
+ public boolean isAllowed(LocalBackendBindOperation bindOperation) {
return true;
}
@@ -130,7 +127,7 @@
* {@inheritDoc}
*/
@Override
- public boolean isAllowed(DeleteOperation deleteOperation) {
+ public boolean isAllowed(LocalBackendDeleteOperation deleteOperation) {
return true;
}
@@ -148,7 +145,7 @@
* {@inheritDoc}
*/
@Override
- public boolean isAllowed(ModifyOperation modifyOperation) {
+ public boolean isAllowed(LocalBackendModifyOperation modifyOperation) {
return true;
}
@@ -166,7 +163,7 @@
* {@inheritDoc}
*/
@Override
- public boolean isAllowed(SearchOperation searchOperation) {
+ public boolean isAllowed(LocalBackendSearchOperation searchOperation) {
return true;
}
@@ -186,7 +183,8 @@
*/
@Override
public SearchResultEntry filterEntry(
- SearchOperation searchOperation, SearchResultEntry searchEntry) {
+ SearchOperation searchOperation,
+ SearchResultEntry searchEntry) {
// No implementation required.
return searchEntry;
--
Gitblit v1.10.0