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/ClearPasswordStorageScheme.java
@@ -22,7 +22,7 @@
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Portions Copyright 2014 ForgeRock AS
 *      Portions Copyright 2014-2015 ForgeRock AS
 */
package org.opends.server.extensions;
@@ -65,7 +65,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public void initializePasswordStorageScheme(
                   ClearPasswordStorageSchemeCfg configuration)
         throws ConfigException, InitializationException
@@ -78,7 +78,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public String getStorageSchemeName()
  {
    return STORAGE_SCHEME_NAME_CLEAR;
@@ -89,7 +89,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public ByteString encodePassword(ByteSequence plaintext)
         throws DirectoryException
  {
@@ -101,7 +101,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public ByteString encodePasswordWithScheme(ByteSequence plaintext)
         throws DirectoryException
  {
@@ -119,7 +119,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public boolean passwordMatches(ByteSequence plaintextPassword,
                                 ByteSequence storedPassword)
  {
@@ -131,7 +131,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public boolean isReversible()
  {
    return true;
@@ -142,7 +142,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public ByteString getPlaintextValue(ByteSequence storedPassword)
         throws DirectoryException
  {
@@ -154,7 +154,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public boolean supportsAuthPasswordSyntax()
  {
    // This storage scheme does not support the authentication password syntax.
@@ -166,7 +166,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public ByteString encodeAuthPassword(ByteSequence plaintext)
         throws DirectoryException
  {
@@ -180,7 +180,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public boolean authPasswordMatches(ByteSequence plaintextPassword,
                                     String authInfo, String authValue)
  {
@@ -193,7 +193,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public ByteString getAuthPasswordPlaintextValue(String authInfo,
                                                  String authValue)
         throws DirectoryException
@@ -208,7 +208,7 @@
  /**
   * {@inheritDoc}
   */
  @Override()
  @Override
  public boolean isStorageSchemeSecure()
  {
    // Clear-text passwords are not obscured in any way.