[exo-jcr-commits] exo-jcr SVN: r2721 - core/trunk/exo.core.component.security.core/src/main/java/org/exoplatform/services/security/jaas.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Jun 30 04:06:31 EDT 2010
Author: dkatayev
Date: 2010-06-30 04:06:30 -0400 (Wed, 30 Jun 2010)
New Revision: 2721
Modified:
core/trunk/exo.core.component.security.core/src/main/java/org/exoplatform/services/security/jaas/SharedStateLoginModule.java
Log:
EXOJCR-772 cause added to thrown LoginException
Modified: core/trunk/exo.core.component.security.core/src/main/java/org/exoplatform/services/security/jaas/SharedStateLoginModule.java
===================================================================
--- core/trunk/exo.core.component.security.core/src/main/java/org/exoplatform/services/security/jaas/SharedStateLoginModule.java 2010-06-29 16:09:50 UTC (rev 2720)
+++ core/trunk/exo.core.component.security.core/src/main/java/org/exoplatform/services/security/jaas/SharedStateLoginModule.java 2010-06-30 08:06:30 UTC (rev 2721)
@@ -77,7 +77,9 @@
}
catch (final Throwable e)
{
- throw new LoginException(e.getMessage());
+ LoginException le = new LoginException(e.getMessage());
+ le.initCause(e);
+ throw le;
}
}
More information about the exo-jcr-commits
mailing list