[exo-jcr-commits] exo-jcr SVN: r2723 - core/branches/2.3.x/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:11:09 EDT 2010


Author: dkatayev
Date: 2010-06-30 04:11:08 -0400 (Wed, 30 Jun 2010)
New Revision: 2723

Modified:
   core/branches/2.3.x/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/branches/2.3.x/exo.core.component.security.core/src/main/java/org/exoplatform/services/security/jaas/SharedStateLoginModule.java
===================================================================
--- core/branches/2.3.x/exo.core.component.security.core/src/main/java/org/exoplatform/services/security/jaas/SharedStateLoginModule.java	2010-06-30 08:07:27 UTC (rev 2722)
+++ core/branches/2.3.x/exo.core.component.security.core/src/main/java/org/exoplatform/services/security/jaas/SharedStateLoginModule.java	2010-06-30 08:11:08 UTC (rev 2723)
@@ -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