geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r554142 - /geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/GeronimoPasswordCredentialLoginModule.java
Date Sat, 07 Jul 2007 05:50:38 GMT
Author: djencks
Date: Fri Jul  6 22:50:37 2007
New Revision: 554142

URL: http://svn.apache.org/viewvc?view=rev&rev=554142
Log:
This didn't used to work...

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

Modified: geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/GeronimoPasswordCredentialLoginModule.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/GeronimoPasswordCredentialLoginModule.java?view=diff&rev=554142&r1=554141&r2=554142
==============================================================================
--- geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/GeronimoPasswordCredentialLoginModule.java
(original)
+++ geronimo/server/trunk/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/GeronimoPasswordCredentialLoginModule.java
Fri Jul  6 22:50:37 2007
@@ -46,8 +46,8 @@
 
     public boolean login() throws LoginException {
         Callback[] callbacks = new Callback[2];
-        callbacks[0] = new NameCallback("");
-        callbacks[1] = new PasswordCallback("", false);
+        callbacks[0] = new NameCallback("name");
+        callbacks[1] = new PasswordCallback("password", false);
         try {
             callbackHandler.handle(callbacks);
         } catch (java.io.IOException e) {



Mime
View raw message