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/SHA1PasswordStorageScheme.java | 14 --------------
1 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/opends/src/server/org/opends/server/extensions/SHA1PasswordStorageScheme.java b/opends/src/server/org/opends/server/extensions/SHA1PasswordStorageScheme.java
index 6edf775..4340a08 100644
--- a/opends/src/server/org/opends/server/extensions/SHA1PasswordStorageScheme.java
+++ b/opends/src/server/org/opends/server/extensions/SHA1PasswordStorageScheme.java
@@ -104,7 +104,6 @@
public void initializePasswordStorageScheme(ConfigEntry configEntry)
throws ConfigException, InitializationException
{
-
try
{
messageDigest = MessageDigest.getInstance(MESSAGE_DIGEST_ALGORITHM_SHA_1);
@@ -133,7 +132,6 @@
@Override()
public String getStorageSchemeName()
{
-
return STORAGE_SCHEME_NAME_SHA_1;
}
@@ -146,7 +144,6 @@
public ByteString encodePassword(ByteString plaintext)
throws DirectoryException
{
-
byte[] digestBytes;
digestLock.lock();
@@ -186,7 +183,6 @@
public ByteString encodePasswordWithScheme(ByteString plaintext)
throws DirectoryException
{
-
StringBuilder buffer = new StringBuilder();
buffer.append('{');
buffer.append(STORAGE_SCHEME_NAME_SHA_1);
@@ -233,7 +229,6 @@
public boolean passwordMatches(ByteString plaintextPassword,
ByteString storedPassword)
{
-
byte[] userPWDigestBytes;
digestLock.lock();
@@ -286,7 +281,6 @@
@Override()
public boolean supportsAuthPasswordSyntax()
{
-
// This storage scheme does not support the authentication password syntax.
return false;
}
@@ -300,8 +294,6 @@
public ByteString encodeAuthPassword(ByteString plaintext)
throws DirectoryException
{
-
-
int msgID = MSGID_PWSCHEME_DOES_NOT_SUPPORT_AUTH_PASSWORD;
String message = getMessage(msgID, getStorageSchemeName());
throw new DirectoryException(ResultCode.UNWILLING_TO_PERFORM, message,
@@ -317,8 +309,6 @@
public boolean authPasswordMatches(ByteString plaintextPassword,
String authInfo, String authValue)
{
-
-
// This storage scheme does not support the authentication password syntax.
return false;
}
@@ -331,7 +321,6 @@
@Override()
public boolean isReversible()
{
-
return false;
}
@@ -344,7 +333,6 @@
public ByteString getPlaintextValue(ByteString storedPassword)
throws DirectoryException
{
-
int msgID = MSGID_PWSCHEME_NOT_REVERSIBLE;
String message = getMessage(msgID, STORAGE_SCHEME_NAME_SHA_1);
throw new DirectoryException(ResultCode.CONSTRAINT_VIOLATION, message,
@@ -361,7 +349,6 @@
String authValue)
throws DirectoryException
{
-
int msgID = MSGID_PWSCHEME_DOES_NOT_SUPPORT_AUTH_PASSWORD;
String message = getMessage(msgID, getStorageSchemeName());
throw new DirectoryException(ResultCode.UNWILLING_TO_PERFORM, message,
@@ -376,7 +363,6 @@
@Override()
public boolean isStorageSchemeSecure()
{
-
// SHA-1 should be considered secure.
return true;
}
--
Gitblit v1.10.0