From 9b88d8643e4f7a311d2b228d2bce5c043bba82b5 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.

---
 opends/src/server/org/opends/server/extensions/AnonymousSASLMechanismHandler.java |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/opends/src/server/org/opends/server/extensions/AnonymousSASLMechanismHandler.java b/opends/src/server/org/opends/server/extensions/AnonymousSASLMechanismHandler.java
index f791e8f..a67443f 100644
--- a/opends/src/server/org/opends/server/extensions/AnonymousSASLMechanismHandler.java
+++ b/opends/src/server/org/opends/server/extensions/AnonymousSASLMechanismHandler.java
@@ -25,23 +25,22 @@
  *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
  */
 package org.opends.server.extensions;
+
+
+
 import org.opends.messages.MessageBuilder;
-
-
-import org.opends.server.admin.std.server.SASLMechanismHandlerCfg;
+import org.opends.server.admin.std.server.AnonymousSASLMechanismHandlerCfg;
 import org.opends.server.api.SASLMechanismHandler;
 import org.opends.server.config.ConfigException;
 import org.opends.server.core.BindOperation;
 import org.opends.server.core.DirectoryServer;
 import org.opends.server.types.AuthenticationInfo;
 import org.opends.server.types.ByteString;
-
-
 import org.opends.server.types.InitializationException;
 import org.opends.server.types.ResultCode;
 
-import static org.opends.server.loggers.ErrorLogger.*;
 import static org.opends.messages.ExtensionMessages.*;
+import static org.opends.server.loggers.ErrorLogger.*;
 import static org.opends.server.util.ServerConstants.*;
 
 
@@ -55,7 +54,7 @@
  * then that trace information will be written to the server error log.
  */
 public class AnonymousSASLMechanismHandler
-       extends SASLMechanismHandler<SASLMechanismHandlerCfg>
+       extends SASLMechanismHandler<AnonymousSASLMechanismHandlerCfg>
 {
   /**
    * Creates a new instance of this SASL mechanism handler.  No initialization
@@ -73,7 +72,7 @@
    * {@inheritDoc}
    */
   @Override()
-  public void initializeSASLMechanismHandler(SASLMechanismHandlerCfg
+  public void initializeSASLMechanismHandler(AnonymousSASLMechanismHandlerCfg
                                                   configuration)
          throws ConfigException, InitializationException
   {

--
Gitblit v1.10.0