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/IdentityMapper.java | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/opends/src/server/org/opends/server/api/IdentityMapper.java b/opends/src/server/org/opends/server/api/IdentityMapper.java
index ee7656d..b7f06be 100644
--- a/opends/src/server/org/opends/server/api/IdentityMapper.java
+++ b/opends/src/server/org/opends/server/api/IdentityMapper.java
@@ -28,7 +28,7 @@
-import org.opends.server.config.ConfigEntry;
+import org.opends.server.admin.std.server.IdentityMapperCfg;
import org.opends.server.config.ConfigException;
import org.opends.server.types.DirectoryException;
import org.opends.server.types.Entry;
@@ -36,7 +36,6 @@
-
/**
* This class defines the set of methods and structures that must be
* implemented by a Directory Server identity mapper. An identity
@@ -45,19 +44,18 @@
* mechanisms to identify the user that is authenticating to the
* server. It may also be used in other areas, like in conjunction
* with the proxied authorization control.
+ *
+ * @param <T> The type of configuration handled by this identity
+ * mapper.
*/
public abstract class IdentityMapper
+ <T extends IdentityMapperCfg>
{
-
-
-
/**
* Initializes this identity mapper based on the information in the
* provided configuration entry.
*
- * @param configEntry The configuration entry that contains the
- * information to use to initialize this
- * identity mapper.
+ * @param configuration The configuration for the identity mapper.
*
* @throws ConfigException If an unrecoverable problem arises in
* the process of performing the
@@ -68,8 +66,7 @@
* related to the server
* configuration.
*/
- public abstract void initializeIdentityMapper(
- ConfigEntry configEntry)
+ public abstract void initializeIdentityMapper(T configuration)
throws ConfigException, InitializationException;
--
Gitblit v1.10.0