From d7b6a1861bf8d82fc9dd3f1c0de929471fc50f27 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Wed, 20 Sep 2006 16:34:24 +0000
Subject: [PATCH] Implement test suite for org.opends.server.util.StaticUtils and make the following changes to the class:
---
opendj-sdk/opends/src/server/org/opends/server/tools/LDAPAuthenticationHandler.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPAuthenticationHandler.java b/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPAuthenticationHandler.java
index 7b34d40..6f94fed 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPAuthenticationHandler.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/tools/LDAPAuthenticationHandler.java
@@ -301,7 +301,7 @@
}
else
{
- bindPassword = new ASN1OctetString(charsToBytes(pwChars));
+ bindPassword = new ASN1OctetString(getBytes(pwChars));
Arrays.fill(pwChars, '\u0000');
}
}
@@ -888,7 +888,7 @@
}
else
{
- bindPassword = new ASN1OctetString(charsToBytes(pwChars));
+ bindPassword = new ASN1OctetString(getBytes(pwChars));
Arrays.fill(pwChars, '\u0000');
}
}
@@ -1493,7 +1493,7 @@
}
else
{
- bindPassword = new ASN1OctetString(charsToBytes(pwChars));
+ bindPassword = new ASN1OctetString(getBytes(pwChars));
Arrays.fill(pwChars, '\u0000');
}
}
@@ -3085,7 +3085,7 @@
}
else
{
- bindPassword = new ASN1OctetString(charsToBytes(pwChars));
+ bindPassword = new ASN1OctetString(getBytes(pwChars));
Arrays.fill(pwChars, '\u0000');
}
}
--
Gitblit v1.10.0