From 7bdcb41c0f62967ec42d552f6002577dfb7019ca Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Tue, 02 Nov 2010 15:45:49 +0000
Subject: [PATCH] Sync from OpenDS (matthew_swift) Remove Platform class as it is no longer needed. Remove all getter methods which return passwords as Strings. Replace all setter methods which accept passwords as Strings with methods which accept passwords as char arrays, as per Java API security recommendations.
---
sdk/src/com/sun/opends/sdk/tools/AuthenticatedConnectionFactory.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sdk/src/com/sun/opends/sdk/tools/AuthenticatedConnectionFactory.java b/sdk/src/com/sun/opends/sdk/tools/AuthenticatedConnectionFactory.java
index 6dcf1ea..4735781 100644
--- a/sdk/src/com/sun/opends/sdk/tools/AuthenticatedConnectionFactory.java
+++ b/sdk/src/com/sun/opends/sdk/tools/AuthenticatedConnectionFactory.java
@@ -249,7 +249,7 @@
* method will always throw {@code UnsupportedOperationException}.
*/
@Override
- public BindResult bind(final String name, final String password)
+ public BindResult bind(final String name, final char[] password)
throws UnsupportedOperationException
{
throw new UnsupportedOperationException();
--
Gitblit v1.10.0