From 61b9eb1be03fc03a9f4bb0013a08ff44a1059503 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 20 Apr 2016 14:25:46 +0000
Subject: [PATCH] opendj-server-legacy: added @Override + Autorefactor'ed comments
---
opendj-server-legacy/src/main/java/org/opends/server/extensions/TripleDESPasswordStorageScheme.java | 45 ---------------------------------------------
1 files changed, 0 insertions(+), 45 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/extensions/TripleDESPasswordStorageScheme.java b/opendj-server-legacy/src/main/java/org/opends/server/extensions/TripleDESPasswordStorageScheme.java
index b542122..5e62d94 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/extensions/TripleDESPasswordStorageScheme.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/extensions/TripleDESPasswordStorageScheme.java
@@ -16,8 +16,6 @@
*/
package org.opends.server.extensions;
-
-
import org.forgerock.i18n.LocalizableMessage;
import org.forgerock.opendj.server.config.server.TripleDESPasswordStorageSchemeCfg;
import org.opends.server.api.PasswordStorageScheme;
@@ -36,8 +34,6 @@
import static org.opends.server.extensions.ExtensionsConstants.*;
import static org.opends.server.util.StaticUtils.*;
-
-
/**
* This class defines a Directory Server password storage scheme that will
* encode values using the triple-DES (DES/EDE) reversible encryption algorithm.
@@ -49,16 +45,12 @@
{
private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
-
-
/**
* The reference to the Directory Server crypto manager that we will use to
* handle the encryption/decryption.
*/
private CryptoManager cryptoManager;
-
-
/**
* Creates a new instance of this password storage scheme. Note that no
* initialization should be performed here, as all initialization should be
@@ -69,9 +61,6 @@
super();
}
-
-
- /** {@inheritDoc} */
@Override
public void initializePasswordStorageScheme(
TripleDESPasswordStorageSchemeCfg configuration)
@@ -80,18 +69,12 @@
cryptoManager = DirectoryServer.getCryptoManager();
}
-
-
- /** {@inheritDoc} */
@Override
public String getStorageSchemeName()
{
return STORAGE_SCHEME_NAME_3DES;
}
-
-
- /** {@inheritDoc} */
@Override
public ByteString encodePassword(ByteSequence plaintext)
throws DirectoryException
@@ -124,9 +107,6 @@
}
}
-
-
- /** {@inheritDoc} */
@Override
public ByteString encodePasswordWithScheme(ByteSequence plaintext)
throws DirectoryException
@@ -166,9 +146,6 @@
return ByteString.valueOfUtf8(buffer);
}
-
-
- /** {@inheritDoc} */
@Override
public boolean passwordMatches(ByteSequence plaintextPassword,
ByteSequence storedPassword)
@@ -188,18 +165,12 @@
}
}
-
-
- /** {@inheritDoc} */
@Override
public boolean isReversible()
{
return true;
}
-
-
- /** {@inheritDoc} */
@Override
public ByteString getPlaintextValue(ByteSequence storedPassword)
throws DirectoryException
@@ -221,9 +192,6 @@
}
}
-
-
- /** {@inheritDoc} */
@Override
public boolean supportsAuthPasswordSyntax()
{
@@ -231,9 +199,6 @@
return false;
}
-
-
- /** {@inheritDoc} */
@Override
public ByteString encodeAuthPassword(ByteSequence plaintext)
throws DirectoryException
@@ -243,9 +208,6 @@
throw new DirectoryException(ResultCode.UNWILLING_TO_PERFORM, message);
}
-
-
- /** {@inheritDoc} */
@Override
public boolean authPasswordMatches(ByteSequence plaintextPassword,
String authInfo, String authValue)
@@ -254,9 +216,6 @@
return false;
}
-
-
- /** {@inheritDoc} */
@Override
public ByteString getAuthPasswordPlaintextValue(String authInfo,
String authValue)
@@ -267,9 +226,6 @@
throw new DirectoryException(ResultCode.UNWILLING_TO_PERFORM, message);
}
-
-
- /** {@inheritDoc} */
@Override
public boolean isStorageSchemeSecure()
{
@@ -277,4 +233,3 @@
return true;
}
}
-
--
Gitblit v1.10.0