From 9b97b90c77daa7c02491be3894b3ccdd51c974cd Mon Sep 17 00:00:00 2001
From: lutoff <lutoff@localhost>
Date: Wed, 18 Apr 2007 12:08:18 +0000
Subject: [PATCH] Issue 1483 fix (use new admin framework for Access control configuration)
---
opends/src/server/org/opends/server/authorization/dseecompat/AciProvider.java | 26 +++++++++++++++++---------
1 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/opends/src/server/org/opends/server/authorization/dseecompat/AciProvider.java b/opends/src/server/org/opends/server/authorization/dseecompat/AciProvider.java
index cfa8f05..e155854 100644
--- a/opends/src/server/org/opends/server/authorization/dseecompat/AciProvider.java
+++ b/opends/src/server/org/opends/server/authorization/dseecompat/AciProvider.java
@@ -27,16 +27,18 @@
package org.opends.server.authorization.dseecompat;
+import org.opends.server.admin.std.server.DseeCompatAccessControlHandlerCfg;
import org.opends.server.api.AccessControlHandler;
import org.opends.server.api.AccessControlProvider;
-import org.opends.server.config.ConfigEntry;
import org.opends.server.config.ConfigException;
import org.opends.server.types.InitializationException;
/**
* This class is the provider class for the dseecompt ACI.
*/
-public class AciProvider implements AccessControlProvider {
+public class AciProvider implements
+ AccessControlProvider<DseeCompatAccessControlHandlerCfg>
+{
/*
* The AciHandler does all the work in this package.
@@ -52,15 +54,21 @@
/**
- * Creates the AciHandler class and calls its initialization method.
- * @param configEntry The entry containing the configuration Access Control
- * entry.
- * @throws ConfigException If the initialization fails.
- * @throws InitializationException If the initialization fails.
+ * Creates the AciHandler class and calls its initialization
+ * method.
+ *
+ * @param configuration
+ * The entry containing the configuration Access Control
+ * entry.
+ * @throws ConfigException
+ * If the initialization fails.
+ * @throws InitializationException
+ * If the initialization fails.
*/
- public void initializeAccessControlHandler(ConfigEntry configEntry)
+ public void initializeAccessControlHandler(
+ DseeCompatAccessControlHandlerCfg configuration)
throws ConfigException, InitializationException {
- instance=new AciHandler(configEntry);
+ instance=new AciHandler(configuration);
}
/**
--
Gitblit v1.10.0