geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jb...@apache.org
Subject svn commit: r427184 - /geronimo/trunk/modules/security/src/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java
Date Mon, 31 Jul 2006 17:44:33 GMT
Author: jbohn
Date: Mon Jul 31 10:44:33 2006
New Revision: 427184

URL: http://svn.apache.org/viewvc?rev=427184&view=rev
Log:
GERONIMO-2252 save key password as char[]

Modified:
    geronimo/trunk/modules/security/src/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java

Modified: geronimo/trunk/modules/security/src/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java
URL: http://svn.apache.org/viewvc/geronimo/trunk/modules/security/src/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java?rev=427184&r1=427183&r2=427184&view=diff
==============================================================================
--- geronimo/trunk/modules/security/src/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java
(original)
+++ geronimo/trunk/modules/security/src/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java
Mon Jul 31 10:44:33 2006
@@ -203,7 +203,7 @@
                 buf.append("]![");
             }
             Map.Entry entry = (Map.Entry) it.next();
-            buf.append(entry.getKey()).append("=").append(entry.getValue());
+            buf.append(entry.getKey()).append("=").append((char[])entry.getValue());
         }
         try {
             kernel.setAttribute(abstractName, "keyPasswords", buf.length() == 0 ? null :
buf.toString());



Mime
View raw message