From feb5d90ec016c99712f19c5485cf7633cd38f111 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 23 Mar 2007 14:26:04 +0000
Subject: [PATCH] Merge admin framework from config-prototype-branch onto trunk.

---
 opends/src/server/org/opends/server/plugins/PasswordPolicyImportPlugin.java |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/opends/src/server/org/opends/server/plugins/PasswordPolicyImportPlugin.java b/opends/src/server/org/opends/server/plugins/PasswordPolicyImportPlugin.java
index e835696..c208f5f 100644
--- a/opends/src/server/org/opends/server/plugins/PasswordPolicyImportPlugin.java
+++ b/opends/src/server/org/opends/server/plugins/PasswordPolicyImportPlugin.java
@@ -36,11 +36,11 @@
 import java.util.Set;
 import java.util.concurrent.CopyOnWriteArrayList;
 
+import org.opends.server.admin.std.server.PluginCfg;
 import org.opends.server.api.PasswordStorageScheme;
 import org.opends.server.api.plugin.DirectoryServerPlugin;
 import org.opends.server.api.plugin.LDIFPluginResult;
 import org.opends.server.api.plugin.PluginType;
-import org.opends.server.config.ConfigEntry;
 import org.opends.server.config.ConfigException;
 import org.opends.server.core.DirectoryServer;
 import org.opends.server.core.PasswordPolicy;
@@ -71,11 +71,8 @@
  * that all of the password values are properly encoded before they are stored.
  */
 public final class PasswordPolicyImportPlugin
-       extends DirectoryServerPlugin
+       extends DirectoryServerPlugin<PluginCfg>
 {
-
-
-
   // The sets of password storage schemes for the auth password attributes.
   private final HashMap<AttributeType,PasswordStorageScheme[]>
                      authPasswordSchemes;
@@ -97,7 +94,6 @@
     super();
 
 
-
     // Get the password policies from the Directory Server configuration.  This
     // is done in the constructor to allow the instance variables to be declared
     // "final".
@@ -176,7 +172,7 @@
    */
   @Override()
   public final void initializePlugin(Set<PluginType> pluginTypes,
-                                     ConfigEntry configEntry)
+                                     PluginCfg configuration)
          throws ConfigException
   {
     // Make sure that the plugin has been enabled for the appropriate types.

--
Gitblit v1.10.0