[jboss-cvs] JBossAS SVN: r67693 - trunk/server/src/main/org/jboss/ejb/plugins.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Dec 1 10:54:18 EST 2007
Author: anil.saldhana at jboss.com
Date: 2007-12-01 10:54:18 -0500 (Sat, 01 Dec 2007)
New Revision: 67693
Modified:
trunk/server/src/main/org/jboss/ejb/plugins/SecurityInterceptor.java
Log:
JBAS-5028: push any configured RunAsIdentity for ejbTimeOut method calls
Modified: trunk/server/src/main/org/jboss/ejb/plugins/SecurityInterceptor.java
===================================================================
--- trunk/server/src/main/org/jboss/ejb/plugins/SecurityInterceptor.java 2007-12-01 15:39:45 UTC (rev 67692)
+++ trunk/server/src/main/org/jboss/ejb/plugins/SecurityInterceptor.java 2007-12-01 15:54:18 UTC (rev 67693)
@@ -366,6 +366,8 @@
// Allow for the progatation of caller info to other beans
SecurityActions.createAndSetSecurityContext(mi.getPrincipal(),
mi.getCredential(), "BYPASSED-SECURITY");
+ if(this.runAsIdentity != null)
+ SecurityActions.pushRunAsIdentity(runAsIdentity);
return true;
}
return false;
More information about the jboss-cvs-commits
mailing list