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/Base64PasswordStorageScheme.java | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/opends/src/server/org/opends/server/extensions/Base64PasswordStorageScheme.java b/opends/src/server/org/opends/server/extensions/Base64PasswordStorageScheme.java
index 0cee170..11ccab8 100644
--- a/opends/src/server/org/opends/server/extensions/Base64PasswordStorageScheme.java
+++ b/opends/src/server/org/opends/server/extensions/Base64PasswordStorageScheme.java
@@ -78,7 +78,6 @@
public void initializePasswordStorageScheme(ConfigEntry configEntry)
throws ConfigException, InitializationException
{
-
// No initialization is required.
}
@@ -90,7 +89,6 @@
@Override()
public String getStorageSchemeName()
{
-
return STORAGE_SCHEME_NAME_BASE64;
}
@@ -103,7 +101,6 @@
public ByteString encodePassword(ByteString plaintext)
throws DirectoryException
{
-
return ByteStringFactory.create(Base64.encode(plaintext.value()));
}
@@ -116,7 +113,6 @@
public ByteString encodePasswordWithScheme(ByteString plaintext)
throws DirectoryException
{
-
StringBuilder buffer = new StringBuilder();
buffer.append('{');
buffer.append(STORAGE_SCHEME_NAME_BASE64);
@@ -135,8 +131,6 @@
public boolean passwordMatches(ByteString plaintextPassword,
ByteString storedPassword)
{
-
-
String userString = Base64.encode(plaintextPassword.value());
String storedString = storedPassword.stringValue();
return userString.equals(storedString);
@@ -150,7 +144,6 @@
@Override()
public boolean isReversible()
{
-
return true;
}
@@ -163,7 +156,6 @@
public ByteString getPlaintextValue(ByteString storedPassword)
throws DirectoryException
{
-
try
{
return ByteStringFactory.create(Base64.decode(
@@ -192,7 +184,6 @@
@Override()
public boolean supportsAuthPasswordSyntax()
{
-
// This storage scheme does not support the authentication password syntax.
return false;
}
@@ -206,8 +197,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,
@@ -223,8 +212,6 @@
public boolean authPasswordMatches(ByteString plaintextPassword,
String authInfo, String authValue)
{
-
-
// This storage scheme does not support the authentication password syntax.
return false;
}
@@ -239,7 +226,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,
@@ -254,7 +240,6 @@
@Override()
public boolean isStorageSchemeSecure()
{
-
// Base64-encoded values may be easily decoded with no key or special
// knowledge.
return false;
--
Gitblit v1.10.0