Author: adietish
Date: 2011-02-02 12:31:31 -0500 (Wed, 02 Feb 2011)
New Revision: 28933
Modified:
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/SecurePasswordStore.java
Log:
[JBIDE-8250]
Modified:
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/SecurePasswordStore.java
===================================================================
---
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/SecurePasswordStore.java 2011-02-02
17:31:01 UTC (rev 28932)
+++
branches/jbosstools-3.2.x/deltacloud/plugins/org.jboss.tools.deltacloud.core/src/org/jboss/tools/deltacloud/core/SecurePasswordStore.java 2011-02-02
17:31:31 UTC (rev 28933)
@@ -100,7 +100,7 @@
if (password == null) {
return null;
}
- return EncodingUtils.encodeBase64(password.getBytes());
+ return new String(EncodingUtils.decodeBase64(password));
}
private void storeInPreferences(String password, IStorageKey key) throws
DeltaCloudException {
Show replies by date