geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jb...@apache.org
Subject svn commit: r427183 - /geronimo/branches/1.1/modules/security/src/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java
Date Mon, 31 Jul 2006 17:43:59 GMT
Author: jbohn
Date: Mon Jul 31 10:43:58 2006
New Revision: 427183

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

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

Modified: geronimo/branches/1.1/modules/security/src/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java
URL: http://svn.apache.org/viewvc/geronimo/branches/1.1/modules/security/src/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java?rev=427183&r1=427182&r2=427183&view=diff
==============================================================================
--- geronimo/branches/1.1/modules/security/src/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java
(original)
+++ geronimo/branches/1.1/modules/security/src/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java
Mon Jul 31 10:43:58 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