From 3e3246e42af6979556dec66ec10ad3d3e009217c 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.
---
opendj-sdk/opends/src/server/org/opends/server/extensions/SaltedMD5PasswordStorageScheme.java | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/extensions/SaltedMD5PasswordStorageScheme.java b/opendj-sdk/opends/src/server/org/opends/server/extensions/SaltedMD5PasswordStorageScheme.java
index 94ec9a4..2ae7e64 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/extensions/SaltedMD5PasswordStorageScheme.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/extensions/SaltedMD5PasswordStorageScheme.java
@@ -118,7 +118,6 @@
public void initializePasswordStorageScheme(ConfigEntry configEntry)
throws ConfigException, InitializationException
{
-
try
{
messageDigest = MessageDigest.getInstance(MESSAGE_DIGEST_ALGORITHM_MD5);
@@ -149,7 +148,6 @@
@Override()
public String getStorageSchemeName()
{
-
return STORAGE_SCHEME_NAME_SALTED_MD5;
}
@@ -162,7 +160,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];
@@ -221,7 +218,6 @@
public ByteString encodePasswordWithScheme(ByteString plaintext)
throws DirectoryException
{
-
StringBuilder buffer = new StringBuilder();
buffer.append('{');
buffer.append(STORAGE_SCHEME_NAME_SALTED_MD5);
@@ -286,8 +282,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;
@@ -357,7 +351,6 @@
@Override()
public boolean supportsAuthPasswordSyntax()
{
-
// This storage scheme does support the authentication password syntax.
return true;
}
@@ -370,7 +363,6 @@
@Override()
public String getAuthPasswordSchemeName()
{
-
return AUTH_PASSWORD_SCHEME_NAME_SALTED_MD5;
}
@@ -383,8 +375,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];
@@ -445,8 +435,6 @@
public boolean authPasswordMatches(ByteString plaintextPassword,
String authInfo, String authValue)
{
-
-
byte[] saltBytes;
byte[] digestBytes;
try
@@ -492,7 +480,6 @@
@Override()
public boolean isReversible()
{
-
return false;
}
@@ -505,7 +492,6 @@
public ByteString getPlaintextValue(ByteString storedPassword)
throws DirectoryException
{
-
int msgID = MSGID_PWSCHEME_NOT_REVERSIBLE;
String message = getMessage(msgID, STORAGE_SCHEME_NAME_SALTED_MD5);
throw new DirectoryException(ResultCode.CONSTRAINT_VIOLATION, message,
@@ -522,7 +508,6 @@
String authValue)
throws DirectoryException
{
-
int msgID = MSGID_PWSCHEME_NOT_REVERSIBLE;
String message = getMessage(msgID, AUTH_PASSWORD_SCHEME_NAME_SALTED_MD5);
throw new DirectoryException(ResultCode.CONSTRAINT_VIOLATION, message,
@@ -537,7 +522,6 @@
@Override()
public boolean isStorageSchemeSecure()
{
-
// MD5 may be considered reasonably secure for this purpose.
return true;
}
--
Gitblit v1.10.0