From 2bf80e51262791cae4bea6553c4af052e96dc740 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 25 Jun 2007 00:06:03 +0000
Subject: [PATCH] Migrate the matching rule configuration to the admin framework.

---
 opends/src/server/org/opends/server/schema/UserPasswordExactEqualityMatchingRule.java |   21 +++------------------
 1 files changed, 3 insertions(+), 18 deletions(-)

diff --git a/opends/src/server/org/opends/server/schema/UserPasswordExactEqualityMatchingRule.java b/opends/src/server/org/opends/server/schema/UserPasswordExactEqualityMatchingRule.java
index 80fcbd1..e4c61a9 100644
--- a/opends/src/server/org/opends/server/schema/UserPasswordExactEqualityMatchingRule.java
+++ b/opends/src/server/org/opends/server/schema/UserPasswordExactEqualityMatchingRule.java
@@ -30,8 +30,8 @@
 
 import java.util.Arrays;
 
+import org.opends.server.admin.std.server.EqualityMatchingRuleCfg;
 import org.opends.server.api.EqualityMatchingRule;
-import org.opends.server.config.ConfigEntry;
 import org.opends.server.config.ConfigException;
 import org.opends.server.protocols.asn1.ASN1OctetString;
 import org.opends.server.types.ByteString;
@@ -50,35 +50,20 @@
 public class UserPasswordExactEqualityMatchingRule
        extends EqualityMatchingRule
 {
-
-
-
   /**
    * Creates a new instance of this userPasswordExactMatch matching rule.
    */
   public UserPasswordExactEqualityMatchingRule()
   {
     super();
-
   }
 
 
 
   /**
-   * Initializes this matching rule based on the information in the provided
-   * configuration entry.
-   *
-   * @param  configEntry  The configuration entry that contains the information
-   *                      to use to initialize this matching rule.
-   *
-   * @throws  ConfigException  If an unrecoverable problem arises in the
-   *                           process of performing the initialization.
-   *
-   * @throws  InitializationException  If a problem that is not
-   *                                   configuration-related occurs during
-   *                                   initialization.
+   * {@inheritDoc}
    */
-  public void initializeMatchingRule(ConfigEntry configEntry)
+  public void initializeMatchingRule(EqualityMatchingRuleCfg configuration)
          throws ConfigException, InitializationException
   {
     // No initialization is required.

--
Gitblit v1.10.0