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/api/CertificateMapper.java | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/opends/src/server/org/opends/server/api/CertificateMapper.java b/opends/src/server/org/opends/server/api/CertificateMapper.java
index c0762fb..85538d2 100644
--- a/opends/src/server/org/opends/server/api/CertificateMapper.java
+++ b/opends/src/server/org/opends/server/api/CertificateMapper.java
@@ -30,7 +30,8 @@
import java.security.cert.Certificate;
-import org.opends.server.config.ConfigEntry;
+import org.opends.server.admin.std.server.
+ CertificateMapperCfg;
import org.opends.server.config.ConfigException;
import org.opends.server.types.DirectoryException;
import org.opends.server.types.Entry;
@@ -44,19 +45,19 @@
* implemented by a Directory Server module that implements the
* functionality required to uniquely map an SSL client certificate to
* a Directory Server user entry.
+ *
+ * @param <T> The type of configuration handled by this certificate
+ * mapper.
*/
public abstract class CertificateMapper
+ <T extends CertificateMapperCfg>
{
-
-
-
/**
* Initializes this certificate mapper based on the information in
* the provided configuration entry.
*
- * @param configEntry The configuration entry that contains the
- * information to use to initialize this
- * certificate mapper.
+ * @param configuration The configuration that should be used to
+ * intialize this certificate mapper.
*
* @throws ConfigException If the provided entry does not contain
* a valid certificate mapper
@@ -67,8 +68,7 @@
* related to the server
* configuration.
*/
- public abstract void initializeCertificateMapper(
- ConfigEntry configEntry)
+ public abstract void initializeCertificateMapper(T configuration)
throws ConfigException, InitializationException;
--
Gitblit v1.10.0