[jboss-cvs] JBossAS SVN: r77160 - branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/ejb3/security.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Aug 18 11:10:34 EDT 2008
Author: mmoyses
Date: 2008-08-18 11:10:34 -0400 (Mon, 18 Aug 2008)
New Revision: 77160
Modified:
branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/ejb3/security/Ejb3AuthenticationInterceptor.java
Log:
JBPAPP-986: EJBAccessException now has the GeneralSecurityException as the cause.
Modified: branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/ejb3/security/Ejb3AuthenticationInterceptor.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/ejb3/security/Ejb3AuthenticationInterceptor.java 2008-08-18 14:35:22 UTC (rev 77159)
+++ branches/JBPAPP_4_2_0_GA_CP/ejb3/src/main/org/jboss/ejb3/security/Ejb3AuthenticationInterceptor.java 2008-08-18 15:10:34 UTC (rev 77160)
@@ -65,7 +65,9 @@
protected void handleGeneralSecurityException(GeneralSecurityException gse)
{
log.debug("Authentication failure", gse);
- throw new EJBAccessException("Authentication failure");
+ EJBAccessException eae = new EJBAccessException("Authentication failure");
+ eae.initCause(gse);
+ throw eae;
}
public Object invoke(org.jboss.aop.joinpoint.Invocation invocation) throws Throwable
More information about the jboss-cvs-commits
mailing list