From a90165864bedbd45ec46e4154450f728749d3b94 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 26 Jun 2013 12:11:56 +0000
Subject: [PATCH] Attempt at making AccessControlHandler free of references to org.opends.server.workflowelement.localbackend package (clearly not public API).

---
 opends/src/server/org/opends/server/api/AccessControlHandler.java |   19 +++++--------------
 1 files changed, 5 insertions(+), 14 deletions(-)

diff --git a/opends/src/server/org/opends/server/api/AccessControlHandler.java b/opends/src/server/org/opends/server/api/AccessControlHandler.java
index b5f3b82..b7e5d72 100644
--- a/opends/src/server/org/opends/server/api/AccessControlHandler.java
+++ b/opends/src/server/org/opends/server/api/AccessControlHandler.java
@@ -27,19 +27,15 @@
  */
 package org.opends.server.api;
 
-
-
-import org.opends.messages.Message;
-
 import java.util.List;
 
+import org.opends.messages.Message;
 import org.opends.server.admin.std.server.AccessControlHandlerCfg;
 import org.opends.server.config.ConfigException;
 import org.opends.server.core.*;
 import org.opends.server.types.*;
 import org.opends.server.workflowelement.localbackend.*;
 
-
 /**
  * This class defines the set of methods and structures that must be
  * implemented by a Directory Server access control handler. All
@@ -74,7 +70,6 @@
    *           related to the server configuration.
    */
   public abstract void initializeAccessControlHandler(T configuration)
-
   throws ConfigException, InitializationException;
 
 
@@ -184,8 +179,7 @@
    *           be decoded. Care must be taken not to expose any
    *           potentially sensitive information in the exception.
    */
-  public abstract boolean isAllowed(
-      LocalBackendBindOperation bindOperation)
+  public abstract boolean isAllowed(BindOperation bindOperation)
     throws DirectoryException;
 
 
@@ -247,8 +241,7 @@
    *           be decoded. Care must be taken not to expose any
    *           potentially sensitive information in the exception.
    */
-  public abstract boolean isAllowed(
-      ExtendedOperation extendedOperation)
+  public abstract boolean isAllowed(ExtendedOperation extendedOperation)
     throws DirectoryException;
 
 
@@ -289,8 +282,7 @@
    *           be decoded. Care must be taken not to expose any
    *           potentially sensitive information in the exception.
    */
-  public abstract boolean isAllowed(
-      LocalBackendModifyDNOperation modifyDNOperation)
+  public abstract boolean isAllowed(ModifyDNOperation modifyDNOperation)
     throws DirectoryException;
 
 
@@ -313,8 +305,7 @@
    *           be decoded. Care must be taken not to expose any
    *           potentially sensitive information in the exception.
    */
-  public abstract boolean isAllowed(
-      LocalBackendSearchOperation searchOperation)
+  public abstract boolean isAllowed(SearchOperation searchOperation)
     throws DirectoryException;
 
 

--
Gitblit v1.10.0