geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r801815 - /geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/PropertiesFileNoPasswordLoginModule.java
Date Thu, 06 Aug 2009 20:38:03 GMT
Author: gawor
Date: Thu Aug  6 20:38:03 2009
New Revision: 801815

URL: http://svn.apache.org/viewvc?rev=801815&view=rev
Log:
array of 1 is expected

Modified:
    geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/PropertiesFileNoPasswordLoginModule.java

Modified: geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/PropertiesFileNoPasswordLoginModule.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/PropertiesFileNoPasswordLoginModule.java?rev=801815&r1=801814&r2=801815&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/PropertiesFileNoPasswordLoginModule.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/PropertiesFileNoPasswordLoginModule.java
Thu Aug  6 20:38:03 2009
@@ -148,7 +148,7 @@
         } catch (UnsupportedCallbackException uce) {
             return false;
         }
-        assert callbacks.length == 2;
+        assert callbacks.length == 1;
         username = ((NameCallback) callbacks[0]).getName();
         if (username == null || username.equals("")) {
             // Clear out the private state
@@ -209,4 +209,4 @@
         return true;
     }
 
-}
\ No newline at end of file
+}



Mime
View raw message