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

Jean-Noel Rouvignac
13.08.2015 ea1068c292e9b341af6d6b563cd8988a96be20a9
opendj-server-legacy/src/main/java/org/opends/server/extensions/SHA1PasswordStorageScheme.java
@@ -22,7 +22,7 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2013-2014 ForgeRock AS.
 *      Portions Copyright 2013-2015 ForgeRock AS.
 */
package org.opends.server.extensions;
@@ -94,7 +94,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public void initializePasswordStorageScheme(
                   SHA1PasswordStorageSchemeCfg configuration)
         throws ConfigException, InitializationException
@@ -120,7 +120,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public String getStorageSchemeName()
  {
    return STORAGE_SCHEME_NAME_SHA_1;
@@ -131,7 +131,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public ByteString encodePassword(ByteSequence plaintext)
         throws DirectoryException
  {
@@ -170,7 +170,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public ByteString encodePasswordWithScheme(ByteSequence plaintext)
         throws DirectoryException
  {
@@ -216,7 +216,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public boolean passwordMatches(ByteSequence plaintextPassword,
                                 ByteSequence storedPassword)
  {
@@ -266,7 +266,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public boolean supportsAuthPasswordSyntax()
  {
    // This storage scheme does not support the authentication password syntax.
@@ -278,7 +278,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public ByteString encodeAuthPassword(ByteSequence plaintext)
         throws DirectoryException
  {
@@ -292,7 +292,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public boolean authPasswordMatches(ByteSequence plaintextPassword,
                                     String authInfo, String authValue)
  {
@@ -305,7 +305,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public boolean isReversible()
  {
    return false;
@@ -316,7 +316,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public ByteString getPlaintextValue(ByteSequence storedPassword)
         throws DirectoryException
  {
@@ -330,7 +330,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public ByteString getAuthPasswordPlaintextValue(String authInfo,
                                                  String authValue)
         throws DirectoryException
@@ -345,7 +345,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public boolean isStorageSchemeSecure()
  {
    // SHA-1 should be considered secure.