From 068aed1041fb0a8cdbe2f7594bfd28b233e483e7 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.
---
opendj-sdk/opends/src/server/org/opends/server/api/TrustManagerProvider.java | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/api/TrustManagerProvider.java b/opendj-sdk/opends/src/server/org/opends/server/api/TrustManagerProvider.java
index fb53ed2..acf5636 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/api/TrustManagerProvider.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/api/TrustManagerProvider.java
@@ -30,7 +30,7 @@
import javax.net.ssl.TrustManager;
-import org.opends.server.config.ConfigEntry;
+import org.opends.server.admin.std.server.TrustManagerCfg;
import org.opends.server.config.ConfigException;
import org.opends.server.types.DirectoryException;
import org.opends.server.types.InitializationException;
@@ -41,16 +41,18 @@
* This class defines an API that may be used to obtain a set of
* {@code javax.net.ssl.TrustManager} objects for use when performing
* SSL/StartTLS negotiation.
+ *
+ * @param <T> The type of trust manager provider configuration
+ * handled by this trust manager provider implementation.
*/
-public abstract class TrustManagerProvider
+public abstract class TrustManagerProvider<T extends TrustManagerCfg>
{
/**
* 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.
+ * @param configuration The configuration to use for this trust
+ * manager provider.
*
* @throws ConfigException If an unrecoverable problem arises in
* the process of performing the
@@ -63,7 +65,7 @@
* configuration.
*/
public abstract void initializeTrustManagerProvider(
- ConfigEntry configEntry)
+ T configuration)
throws ConfigException, InitializationException;
--
Gitblit v1.10.0