From 68ceb8ea8c8d2c2745f1c2449635764f4a51a993 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 28 Jun 2007 23:54:43 +0000
Subject: [PATCH] Migrate the key and trust manager provider configuration to the admin framework.

---
 opends/src/server/org/opends/server/extensions/NullTrustManagerProvider.java |   23 ++++-------------------
 1 files changed, 4 insertions(+), 19 deletions(-)

diff --git a/opends/src/server/org/opends/server/extensions/NullTrustManagerProvider.java b/opends/src/server/org/opends/server/extensions/NullTrustManagerProvider.java
index 20fa129..70777e5 100644
--- a/opends/src/server/org/opends/server/extensions/NullTrustManagerProvider.java
+++ b/opends/src/server/org/opends/server/extensions/NullTrustManagerProvider.java
@@ -30,8 +30,8 @@
 
 import javax.net.ssl.TrustManager;
 
+import org.opends.server.admin.std.server.TrustManagerCfg;
 import org.opends.server.api.TrustManagerProvider;
-import org.opends.server.config.ConfigEntry;
 import org.opends.server.config.ConfigException;
 import org.opends.server.types.DirectoryException;
 import org.opends.server.types.InitializationException;
@@ -46,11 +46,8 @@
  * configuration.
  */
 public class NullTrustManagerProvider
-       extends TrustManagerProvider
+       extends TrustManagerProvider<TrustManagerCfg>
 {
-
-
-
   /**
    * Creates a new instance of this null trust manager provider.  The
    * <CODE>initializeTrustManagerProvider</CODE> method must be called on the
@@ -64,21 +61,9 @@
 
 
   /**
-   * Initializes this trust manager provider based on the information in the
-   * provided configuration entry.
-   *
-   * @param  configEntry  The configuration entry that contains the information
-   *                      to use to initialize this trust manager provider.
-   *
-   * @throws  ConfigException  If an unrecoverable problem arises in the
-   *                           process of performing the initialization as a
-   *                           result of the server configuration.
-   *
-   * @throws  InitializationException  If a problem occurs during initialization
-   *                                   that is not related to the server
-   *                                   configuration.
+   * {@inheritDoc}
    */
-  public void initializeTrustManagerProvider(ConfigEntry configEntry)
+  public void initializeTrustManagerProvider(TrustManagerCfg configuration)
          throws ConfigException, InitializationException
   {
     // No implementation is required.

--
Gitblit v1.10.0