From a49dee3f75d6e2548e9114d9495655dd56f06973 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 01 Mar 2007 05:18:42 +0000
Subject: [PATCH] Remove blank lines at the beginning of methods left after eliminating the debugEnter and debugConstructor calls.
---
opends/src/server/org/opends/server/extensions/SaltedSHA512PasswordStorageScheme.java | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/opends/src/server/org/opends/server/extensions/SaltedSHA512PasswordStorageScheme.java b/opends/src/server/org/opends/server/extensions/SaltedSHA512PasswordStorageScheme.java
index 0756c4c..d54861b 100644
--- a/opends/src/server/org/opends/server/extensions/SaltedSHA512PasswordStorageScheme.java
+++ b/opends/src/server/org/opends/server/extensions/SaltedSHA512PasswordStorageScheme.java
@@ -119,7 +119,6 @@
public void initializePasswordStorageScheme(ConfigEntry configEntry)
throws ConfigException, InitializationException
{
-
try
{
messageDigest =
@@ -150,7 +149,6 @@
@Override()
public String getStorageSchemeName()
{
-
return STORAGE_SCHEME_NAME_SALTED_SHA_512;
}
@@ -163,7 +161,6 @@
public ByteString encodePassword(ByteString plaintext)
throws DirectoryException
{
-
byte[] plainBytes = plaintext.value();
byte[] saltBytes = new byte[NUM_SALT_BYTES];
byte[] plainPlusSalt = new byte[plainBytes.length + NUM_SALT_BYTES];
@@ -222,7 +219,6 @@
public ByteString encodePasswordWithScheme(ByteString plaintext)
throws DirectoryException
{
-
StringBuilder buffer = new StringBuilder();
buffer.append('{');
buffer.append(STORAGE_SCHEME_NAME_SALTED_SHA_512);
@@ -287,8 +283,6 @@
public boolean passwordMatches(ByteString plaintextPassword,
ByteString storedPassword)
{
-
-
// Base64-decode the stored value and take the last 8 bytes as the salt.
byte[] saltBytes = new byte[NUM_SALT_BYTES];
byte[] digestBytes;
@@ -358,7 +352,6 @@
@Override()
public boolean supportsAuthPasswordSyntax()
{
-
// This storage scheme does support the authentication password syntax.
return true;
}
@@ -371,7 +364,6 @@
@Override()
public String getAuthPasswordSchemeName()
{
-
return AUTH_PASSWORD_SCHEME_NAME_SALTED_SHA_512;
}
@@ -384,8 +376,6 @@
public ByteString encodeAuthPassword(ByteString plaintext)
throws DirectoryException
{
-
-
byte[] plainBytes = plaintext.value();
byte[] saltBytes = new byte[NUM_SALT_BYTES];
byte[] plainPlusSalt = new byte[plainBytes.length + NUM_SALT_BYTES];
@@ -446,8 +436,6 @@
public boolean authPasswordMatches(ByteString plaintextPassword,
String authInfo, String authValue)
{
-
-
byte[] saltBytes;
byte[] digestBytes;
try
@@ -493,7 +481,6 @@
@Override()
public boolean isReversible()
{
-
return false;
}
@@ -506,7 +493,6 @@
public ByteString getPlaintextValue(ByteString storedPassword)
throws DirectoryException
{
-
int msgID = MSGID_PWSCHEME_NOT_REVERSIBLE;
String message = getMessage(msgID, STORAGE_SCHEME_NAME_SALTED_SHA_512);
throw new DirectoryException(ResultCode.CONSTRAINT_VIOLATION, message,
@@ -523,7 +509,6 @@
String authValue)
throws DirectoryException
{
-
int msgID = MSGID_PWSCHEME_NOT_REVERSIBLE;
String message = getMessage(msgID,
AUTH_PASSWORD_SCHEME_NAME_SALTED_SHA_512);
@@ -539,7 +524,6 @@
@Override()
public boolean isStorageSchemeSecure()
{
-
// SHA-2 should be considered secure.
return true;
}
--
Gitblit v1.10.0