From 27e4036df61061788847907d2b2eafa0dde58ba0 Mon Sep 17 00:00:00 2001
From: jdemendi <jdemendi@localhost>
Date: Wed, 02 May 2007 08:29:33 +0000
Subject: [PATCH] Issue #1560 - Migrate some objects to the new admin framework: - Entry Cache - Account Status Notification Handler - Password Storage Scheme

---
 opendj-sdk/opends/src/server/org/opends/server/api/PasswordStorageScheme.java |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/api/PasswordStorageScheme.java b/opendj-sdk/opends/src/server/org/opends/server/api/PasswordStorageScheme.java
index fbaa4f3..a26bda7 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/api/PasswordStorageScheme.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/api/PasswordStorageScheme.java
@@ -28,7 +28,7 @@
 
 
 
-import org.opends.server.config.ConfigEntry;
+import org.opends.server.admin.std.server.PasswordStorageSchemeCfg;
 import org.opends.server.config.ConfigException;
 import org.opends.server.types.ByteString;
 import org.opends.server.types.DirectoryException;
@@ -41,8 +41,12 @@
  * implemented by a Directory Server module that implements a password
  * storage scheme.  Each subclass may only implement a single password
  * storage scheme type.
+ *
+ * @param  <T>  The type of configuration handled by this
+ *              password storage scheme
  */
-public abstract class PasswordStorageScheme
+public abstract class
+       PasswordStorageScheme <T extends PasswordStorageSchemeCfg>
 {
   /**
    * Initializes this password storage scheme handler based on the
@@ -50,9 +54,9 @@
    * register itself with the Directory Server for the particular
    * storage scheme that it will manage.
    *
-   * @param  configEntry  The configuration entry that contains the
-   *                      information to use to initialize this
-   *                      password storage scheme handler.
+   * @param  configuration  The configuration entry that contains the
+   *                        information to use to initialize this
+   *                        password storage scheme handler.
    *
    * @throws  ConfigException  If an unrecoverable problem arises in
    *                           the process of performing the
@@ -64,7 +68,7 @@
    *                                   configuration.
    */
   public abstract void initializePasswordStorageScheme(
-                            ConfigEntry configEntry)
+         T configuration)
          throws ConfigException, InitializationException;
 
 

--
Gitblit v1.10.0