mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Nicolas Capponi
19.44.2016 5f9ccac52b25265d38c85c0d23be6f8f91dc74d6
opendj-server-legacy/src/main/java/org/opends/server/schema/AuthPasswordEqualityMatchingRule.java
@@ -16,18 +16,15 @@
 */
package org.opends.server.schema;
import static org.opends.server.schema.SchemaConstants.*;
import static org.opends.server.core.DirectoryServer.*;
import org.forgerock.i18n.slf4j.LocalizedLogger;
import org.forgerock.opendj.ldap.ByteSequence;
import org.forgerock.opendj.ldap.ConditionResult;
import org.forgerock.opendj.ldap.schema.SchemaBuilder;
import org.opends.server.api.PasswordStorageScheme;
/** This class implements the authPasswordMatch matching rule defined in RFC 3112. */
public class AuthPasswordEqualityMatchingRule extends AbstractPasswordEqualityMatchingRuleImpl
final class AuthPasswordEqualityMatchingRule extends AbstractPasswordEqualityMatchingRuleImpl
{
  private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
@@ -59,18 +56,4 @@
        assertionValue, authPWComponents[1], authPWComponents[2]));
  }
  /**
   * Adds the auth password equality matching rule to the provided schema builder.
   *
   * @param builder
   *          where to add the matching rule
   */
  public static void addAuthPasswordEqualityMatchingRule(SchemaBuilder builder)
  {
    builder.buildMatchingRule(EMR_AUTH_PASSWORD_OID)
        .names(EMR_AUTH_PASSWORD_NAME)
        .syntaxOID(SYNTAX_AUTH_PASSWORD_OID).description(EMR_AUTH_PASSWORD_DESCRIPTION)
        .implementation(new AuthPasswordEqualityMatchingRule())
        .addToSchema();
  }
}