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

neil_a_wilson
01.18.2007 a49dee3f75d6e2548e9114d9495655dd56f06973
opends/src/server/org/opends/server/schema/UserPasswordEqualityMatchingRule.java
@@ -87,7 +87,6 @@
  public void initializeMatchingRule(ConfigEntry configEntry)
         throws ConfigException, InitializationException
  {
    // No initialization is required.
  }
@@ -101,7 +100,6 @@
   */
  public String getName()
  {
    return EMR_USER_PASSWORD_NAME;
  }
@@ -114,7 +112,6 @@
   */
  public String getOID()
  {
    return EMR_USER_PASSWORD_OID;
  }
@@ -128,7 +125,6 @@
   */
  public String getDescription()
  {
    // There is no standard description for this matching rule.
    return EMR_USER_PASSWORD_DESCRIPTION;
  }
@@ -143,7 +139,6 @@
   */
  public String getSyntaxOID()
  {
    return SYNTAX_USER_PASSWORD_OID;
  }
@@ -163,8 +158,6 @@
  public ByteString normalizeValue(ByteString value)
         throws DirectoryException
  {
    // We will not alter the value in any way, but we'll create a new value
    // just in case something else is using the underlying array.
    byte[] currentValue = value.value();
@@ -188,7 +181,6 @@
   */
  public boolean areEqual(ByteString value1, ByteString value2)
  {
    // Since the values are already normalized, we just need to compare the
    // associated byte arrays.
    return Arrays.equals(value1.value(), value2.value());
@@ -214,8 +206,6 @@
  public ConditionResult valuesMatch(ByteString attributeValue,
                                     ByteString assertionValue)
  {
    // We must be able to decode the attribute value using the user password
    // syntax.
    String[] userPWComponents;
@@ -276,8 +266,6 @@
   */
  public int generateHashCode(AttributeValue attributeValue)
  {
    // Because of the variable encoding that may be used, we have no way of
    // comparing two user password values by hash code and therefore we'll
    // always return the same value so that the valuesMatch method will be