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/Base64PasswordStorageScheme.java | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/opends/src/server/org/opends/server/extensions/Base64PasswordStorageScheme.java b/opends/src/server/org/opends/server/extensions/Base64PasswordStorageScheme.java
index b7a38c3..b3c5b59 100644
--- a/opends/src/server/org/opends/server/extensions/Base64PasswordStorageScheme.java
+++ b/opends/src/server/org/opends/server/extensions/Base64PasswordStorageScheme.java
@@ -25,25 +25,28 @@
* Portions Copyright 2006-2007 Sun Microsystems, Inc.
*/
package org.opends.server.extensions;
+
+
+
import org.opends.messages.Message;
-
-
-
-import org.opends.server.admin.std.server.PasswordStorageSchemeCfg;
+import org.opends.server.admin.std.server.Base64PasswordStorageSchemeCfg;
import org.opends.server.api.PasswordStorageScheme;
import org.opends.server.config.ConfigException;
+import org.opends.server.loggers.debug.DebugTracer;
import org.opends.server.types.ByteString;
import org.opends.server.types.ByteStringFactory;
+import org.opends.server.types.DebugLogLevel;
import org.opends.server.types.DirectoryException;
import org.opends.server.types.InitializationException;
import org.opends.server.types.ResultCode;
import org.opends.server.util.Base64;
+import static org.opends.messages.ExtensionMessages.*;
import static org.opends.server.extensions.ExtensionsConstants.*;
import static org.opends.server.loggers.debug.DebugLogger.*;
-import org.opends.server.loggers.debug.DebugTracer;
-import org.opends.server.types.DebugLogLevel;
-import static org.opends.messages.ExtensionMessages.*;
+
+
+
/**
* This class defines a Directory Server password storage scheme that will store
* the values in base64-encoded form. This is a reversible algorithm that
@@ -51,7 +54,7 @@
* value from the casual observer.
*/
public class Base64PasswordStorageScheme
- extends PasswordStorageScheme <PasswordStorageSchemeCfg>
+ extends PasswordStorageScheme<Base64PasswordStorageSchemeCfg>
{
/**
* The tracer object for the debug logger.
@@ -60,7 +63,6 @@
-
/**
* Creates a new instance of this password storage scheme. Note that no
* initialization should be performed here, as all initialization should be
@@ -69,7 +71,6 @@
public Base64PasswordStorageScheme()
{
super();
-
}
@@ -79,9 +80,8 @@
*/
@Override()
public void initializePasswordStorageScheme(
- PasswordStorageSchemeCfg configuration
- )
- throws ConfigException, InitializationException
+ Base64PasswordStorageSchemeCfg configuration)
+ throws ConfigException, InitializationException
{
// No initialization is required.
}
--
Gitblit v1.10.0