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/org/opends/sdk/responses/PasswordModifyExtendedResult.java | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)
diff --git a/sdk/src/org/opends/sdk/responses/PasswordModifyExtendedResult.java b/sdk/src/org/opends/sdk/responses/PasswordModifyExtendedResult.java
index 3e33f7a..6f04319 100644
--- a/sdk/src/org/opends/sdk/responses/PasswordModifyExtendedResult.java
+++ b/sdk/src/org/opends/sdk/responses/PasswordModifyExtendedResult.java
@@ -109,19 +109,6 @@
/**
- * Returns the newly generated password decoded as a UTF-8 string, but only if
- * the password modify request succeeded and a generated password was
- * requested.
- *
- * @return The newly generated password decoded as a UTF-8 string, or {@code
- * null} if the password modify request failed or a generated password
- * was not requested.
- */
- String getGeneratedPasswordAsString();
-
-
-
- /**
* {@inheritDoc}
*/
String getMatchedDN();
@@ -221,7 +208,7 @@
* If this password modify extended result does not permit the
* generated password to be set.
*/
- PasswordModifyExtendedResult setGeneratedPassword(String password)
+ PasswordModifyExtendedResult setGeneratedPassword(char[] password)
throws UnsupportedOperationException;
--
Gitblit v1.10.0