geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ashishj...@apache.org
Subject svn commit: r959940 - /geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GAttributeInfo.java
Date Fri, 02 Jul 2010 10:25:14 GMT
Author: ashishjain
Date: Fri Jul  2 10:25:14 2010
New Revision: 959940

URL: http://svn.apache.org/viewvc?rev=959940&view=rev
Log:
GERONIMO-5424 encrypt truststore password

Modified:
    geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GAttributeInfo.java

Modified: geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GAttributeInfo.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GAttributeInfo.java?rev=959940&r1=959939&r2=959940&view=diff
==============================================================================
--- geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GAttributeInfo.java
(original)
+++ geronimo/server/branches/2.1/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/gbean/GAttributeInfo.java
Fri Jul  2 10:25:14 2010
@@ -86,7 +86,7 @@ public class GAttributeInfo implements S
      * @return
      */
     private static boolean defaultEncrypted(String name, String type) {
-        if (name != null && (name.toLowerCase().contains("password") || name.toLowerCase().contains("keystorepass"))
&& "java.lang.String".equals(type)) {
+        if (name != null && (name.toLowerCase().contains("password") || name.toLowerCase().contains("keystorepass")
|| name.toLowerCase().contains("truststorepass")) && "java.lang.String".equals(type))
{
             return true;
         } else {
            return false;



Mime
View raw message