[jboss-cvs] JBossAS SVN: r58849 - trunk/aspects/src/main/org/jboss/aspects/security

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 5 14:54:07 EST 2006


Author: anil.saldhana at jboss.com
Date: 2006-12-05 14:54:06 -0500 (Tue, 05 Dec 2006)
New Revision: 58849

Modified:
   trunk/aspects/src/main/org/jboss/aspects/security/RunAsSecurityInterceptor.java
Log:
merge from JEE_TCK branch

Modified: trunk/aspects/src/main/org/jboss/aspects/security/RunAsSecurityInterceptor.java
===================================================================
--- trunk/aspects/src/main/org/jboss/aspects/security/RunAsSecurityInterceptor.java	2006-12-05 19:42:00 UTC (rev 58848)
+++ trunk/aspects/src/main/org/jboss/aspects/security/RunAsSecurityInterceptor.java	2006-12-05 19:54:06 UTC (rev 58849)
@@ -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