ozeigermann 2005/02/09 10:01:43
Modified: wck/src/org/apache/slide/simple/authentication
JAASLoginModule.java
Log:
Ooops, replaced one exception too much. Reverted.
Revision Changes Path
1.3 +4 -6
jakarta-slide/wck/src/org/apache/slide/simple/authentication/JAASLoginModule.java
Index: JAASLoginModule.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/wck/src/org/apache/slide/simple/authentication/JAASLoginModule.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- JAASLoginModule.java 9 Feb 2005 17:56:13 -0000 1.2
+++ JAASLoginModule.java 9 Feb 2005 18:01:43 -0000 1.3
@@ -141,9 +141,7 @@
final char[] password = ((PasswordCallback)
callbacks[1]).getPassword();
if (username == null) {
- Domain.warn("No user name entered");
- return false;
-// throw new LoginException("No user name entered");
+ throw new LoginException("No user name entered");
}
if (password == null) {
Domain.warn("No password entered");
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]