[jboss-cvs] jboss/src/main/org/jboss/ejb ...

Anil Saldhana anil.saldhana at jboss.com
Wed Jul 26 12:17:24 EDT 2006


  User: asaldhana
  Date: 06/07/26 12:17:24

  Modified:    src/main/org/jboss/ejb  Tag: Branch_4_0 SecurityActions.java
  Log:
  JBAS-3428: Use MBeanProxy.get
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.8   +4 -4      jboss/src/main/org/jboss/ejb/SecurityActions.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SecurityActions.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/SecurityActions.java,v
  retrieving revision 1.3.2.7
  retrieving revision 1.3.2.8
  diff -u -b -r1.3.2.7 -r1.3.2.8
  --- SecurityActions.java	25 Apr 2006 17:45:57 -0000	1.3.2.7
  +++ SecurityActions.java	26 Jul 2006 16:17:24 -0000	1.3.2.8
  @@ -37,11 +37,11 @@
   import javax.security.jacc.PolicyContext;
   import javax.security.jacc.PolicyContextException;
     
  -import org.jboss.mx.util.MBeanProxyExt;
  +import org.jboss.mx.util.MBeanProxy;
   import org.jboss.security.RunAsIdentity;
   import org.jboss.security.SecurityAssociation;
   
  -//$Id: SecurityActions.java,v 1.3.2.7 2006/04/25 17:45:57 asaldhana Exp $
  +//$Id: SecurityActions.java,v 1.3.2.8 2006/07/26 16:17:24 asaldhana Exp $
   
   /** A collection of privileged actions for this package
    * 
  @@ -98,7 +98,7 @@
         }
         public Object run() throws Exception
         {
  -         Object proxy = MBeanProxyExt.create(iface, name, server);
  +         Object proxy = MBeanProxy.get(iface, name, server);
            Class[] ifaces = {iface};
            InvocationHandler secureHandler = new InvocationHandlerAction(proxy);
            Object secureProxy = Proxy.newProxyInstance(iface.getClassLoader(), ifaces, secureHandler);
  @@ -145,7 +145,7 @@
         Object proxy;
         if( System.getSecurityManager() == null )
         {
  -         proxy = MBeanProxyExt.create(iface, name, server);
  +         proxy = MBeanProxy.get(iface, name, server);
         }
         else
         {
  
  
  



More information about the jboss-cvs-commits mailing list