[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security/jaas ...
Shane Bryzak
sbryzak at redhat.com
Mon Jan 14 05:53:38 EST 2008
User: sbryzak2
Date: 08/01/14 05:53:38
Modified: src/main/org/jboss/seam/security/jaas SeamLoginModule.java
Log:
JBSEAM-2164
Revision Changes Path
1.12 +6 -2 jboss-seam/src/main/org/jboss/seam/security/jaas/SeamLoginModule.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SeamLoginModule.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/jaas/SeamLoginModule.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- SeamLoginModule.java 3 Jan 2008 07:52:28 -0000 1.11
+++ SeamLoginModule.java 14 Jan 2008 10:53:38 -0000 1.12
@@ -95,7 +95,9 @@
catch (Exception ex)
{
log.error("Error logging in", ex);
- throw new LoginException(ex.getMessage());
+ LoginException le = new LoginException(ex.getMessage());
+ le.initCause(ex);
+ throw le;
}
// If an authentication method has been specified, use that to authenticate
@@ -136,7 +138,9 @@
catch (Exception ex)
{
log.error("Error invoking login method", ex);
- throw new LoginException(ex.getMessage());
+ LoginException le = new LoginException(ex.getMessage());
+ le.initCause(ex);
+ throw le;
}
}
else
More information about the jboss-cvs-commits
mailing list