[jboss-cvs] JBossAS SVN: r57602 - branches/JEE5_TCK/aspects/src/main/org/jboss/aspects/security
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 12 16:52:27 EDT 2006
Author: anil.saldhana at jboss.com
Date: 2006-10-12 16:52:26 -0400 (Thu, 12 Oct 2006)
New Revision: 57602
Modified:
branches/JEE5_TCK/aspects/src/main/org/jboss/aspects/security/RunAsSecurityInterceptor.java
Log:
EJBTHREE-741: push RunAsIdentity in all cases
Modified: branches/JEE5_TCK/aspects/src/main/org/jboss/aspects/security/RunAsSecurityInterceptor.java
===================================================================
--- branches/JEE5_TCK/aspects/src/main/org/jboss/aspects/security/RunAsSecurityInterceptor.java 2006-10-12 20:47:17 UTC (rev 57601)
+++ branches/JEE5_TCK/aspects/src/main/org/jboss/aspects/security/RunAsSecurityInterceptor.java 2006-10-12 20:52:26 UTC (rev 57602)
@@ -69,10 +69,10 @@
// If a run-as role was specified, push it so that any calls made
// by this bean will have the runAsRole available for declarative
// security checks.
- if(runAsRole != null)
- {
+ /*if(runAsRole != null)
+ {*/
SecurityActions.pushRunAsIdentity(runAsRole);
- }
+ /*}*/
try
{
@@ -80,10 +80,10 @@
}
finally
{
- if(runAsRole != null)
- {
+ /* if(runAsRole != null)
+ {*/
SecurityActions.popRunAsIdentity();
- }
+ /*}*/
}
}
}
More information about the jboss-cvs-commits
mailing list