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

Jean-Noel Rouvignac
24.11.2015 8d21db36015f8560d9cd2bcee9817f2c0a07a386
opendj-server-legacy/src/main/java/org/opends/server/schema/UserPasswordSyntax.java
@@ -28,8 +28,6 @@
import org.forgerock.i18n.LocalizableMessage;
import org.forgerock.i18n.slf4j.LocalizedLogger;
import org.opends.server.admin.std.server.AttributeSyntaxCfg;
import org.forgerock.opendj.ldap.schema.MatchingRule;
import org.opends.server.api.AttributeSyntax;
@@ -68,7 +66,7 @@
  private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
  // The default equality matching rule for this syntax.
  /** The default equality matching rule for this syntax. */
  private MatchingRule defaultEqualityMatchingRule;
  /**
@@ -82,11 +80,7 @@
    super();
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public void initializeSyntax(AttributeSyntaxCfg configuration)
         throws ConfigException
  {
@@ -99,8 +93,6 @@
    }
  }
  /**
   * Retrieves the common name for this attribute syntax.
   *
@@ -111,8 +103,6 @@
    return SYNTAX_USER_PASSWORD_NAME;
  }
  /**
   * Retrieves the OID for this attribute syntax.
   *
@@ -123,8 +113,6 @@
    return SYNTAX_USER_PASSWORD_OID;
  }
  /**
   * Retrieves a description for this attribute syntax.
   *
@@ -135,8 +123,6 @@
    return SYNTAX_USER_PASSWORD_DESCRIPTION;
  }
  /**
   * Retrieves the default equality matching rule that will be used for
   * attributes with this syntax.
@@ -150,8 +136,6 @@
    return defaultEqualityMatchingRule;
  }
  /**
   * Retrieves the default ordering matching rule that will be used for
   * attributes with this syntax.
@@ -166,8 +150,6 @@
    return null;
  }
  /**
   * Retrieves the default substring matching rule that will be used for
   * attributes with this syntax.
@@ -182,8 +164,6 @@
    return null;
  }
  /**
   * Retrieves the default approximate matching rule that will be used for
   * attributes with this syntax.
@@ -198,8 +178,6 @@
    return null;
  }
  /**
   * Indicates whether the provided value is acceptable for use in an attribute
   * with this syntax.  If it is not, then the reason may be appended to the
@@ -220,8 +198,6 @@
    return true;
  }
  /**
   * Decodes the provided user password value into its component parts.
   *
@@ -280,8 +256,6 @@
    return new String[] { toLowerCase(schemeName), encodedValue };
  }
  /**
   * Indicates whether the provided value is encoded using the user password
   * syntax.
@@ -325,21 +299,13 @@
        && closingBracePos != value.length() - 1;
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public boolean isBEREncodingRequired()
  {
    return false;
  }
  /**
   * {@inheritDoc}
   */
  /** {@inheritDoc} */
  public boolean isHumanReadable()
  {
    return true;