From 1a44dbda59f95c7170bbd9e2693a3ec1ff347cb8 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Fri, 31 Aug 2007 22:49:33 +0000
Subject: [PATCH] Create configuration definitions for "generic" objects in the server configuration. This also includes allocating object classes for each of these types. This will help make it easier for users to create new instances of these kinds of configuration objects because they will not need to know the fully-qualified name of the Java class that implements the associated logic.
---
opendj-sdk/opends/src/server/org/opends/server/extensions/BlindTrustManagerProvider.java | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/extensions/BlindTrustManagerProvider.java b/opendj-sdk/opends/src/server/org/opends/server/extensions/BlindTrustManagerProvider.java
index ed2f497..c005bf3 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/extensions/BlindTrustManagerProvider.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/extensions/BlindTrustManagerProvider.java
@@ -32,7 +32,7 @@
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
-import org.opends.server.admin.std.server.TrustManagerCfg;
+import org.opends.server.admin.std.server.BlindTrustManagerCfg;
import org.opends.server.api.TrustManagerProvider;
import org.opends.server.config.ConfigException;
import org.opends.server.types.DirectoryException;
@@ -40,7 +40,6 @@
-
/**
* This class provides an implementation of a trust manager provider that will
* indicate that any certificate presented should be blindly trusted by the
@@ -50,12 +49,9 @@
* trustworthy.
*/
public class BlindTrustManagerProvider
- extends TrustManagerProvider<TrustManagerCfg>
+ extends TrustManagerProvider<BlindTrustManagerCfg>
implements X509TrustManager
{
-
-
-
/**
* Creates a new instance of this blind trust manager provider. The
* <CODE>initializeTrustManagerProvider</CODE> method must be called on the
@@ -72,7 +68,7 @@
* {@inheritDoc}
*/
@Override()
- public void initializeTrustManagerProvider(TrustManagerCfg configuration)
+ public void initializeTrustManagerProvider(BlindTrustManagerCfg configuration)
throws ConfigException, InitializationException
{
// No implementation is required.
--
Gitblit v1.10.0