geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vamsic...@apache.org
Subject svn commit: r477197 - /geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java
Date Mon, 20 Nov 2006 14:32:06 GMT
Author: vamsic007
Date: Mon Nov 20 06:32:04 2006
New Revision: 477197

URL: http://svn.apache.org/viewvc?view=rev&rev=477197
Log:
GERONIMO-2585 KeystorePortlet: Lock keystore throws NullPointerException

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

Modified: geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java?view=diff&rev=477197&r1=477196&r2=477197
==============================================================================
--- geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java
(original)
+++ geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/keystore/FileKeystoreInstance.java
Mon Nov 20 06:32:04 2006
@@ -182,10 +182,6 @@
     }
 
     public void lockKeystore(char[] password) throws KeystoreException {
-        if (password == null) {
-            throw new NullPointerException("password is null");
-        }
-        ensureLoaded(password);
         try {
             kernel.setAttribute(abstractName, "keystorePassword", null);
             keyPasswords.clear();



Mime
View raw message