mx4j/src/core/mx4j/remote MX4JRemoteConstants.java,1.9,1.10

Simone Bordet <[email protected]>
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/core/mx4j/remote
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8478/src/core/mx4j/remote

Modified Files:
	MX4JRemoteConstants.java 
Log Message:
A new constant to allow the users to configure the combination of the context of the remote calls with the injected protection domain

Index: MX4JRemoteConstants.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/mx4j/remote/MX4JRemoteConstants.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** MX4JRemoteConstants.java	10 Aug 2004 09:35:18 -0000	1.9
--- MX4JRemoteConstants.java	27 Aug 2004 22:09:38 -0000	1.10
***************
*** 9,12 ****
--- 9,13 ----
  package mx4j.remote;
  
+ 
  /**
   * @author <a href="mailto:[email protected]">Simone Bordet</a>
***************
*** 108,110 ****
--- 109,122 ----
      */
     public static final String NOTIFICATION_QUEUE_CAPACITY = "jmx.remote.x.queue.size";
+ 
+    /**
+     * MX4J's implementation uses this property to specify that the invocation AccessControlContext
+     * must be combined with the AccessControlContext at the moment of start() of the JMXConnectorServer.
+     * This property is true by default.
+     * Setting this property to false simplifies the policy files, and allows keep separated the permissions
+     * needed to start the JMXConnectorServer and the permissions needed by clients.
+     *
+     * @see MX4JRemoteUtils#getSubjectContext
+     */
+    public static final String SECURITY_COMBINE_START_CONTEXT = "jmx.remote.x.security.combine.start.context";
  }



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.