Author: ron.sigal(a)jboss.com
Date: 2008-11-20 12:28:45 -0500 (Thu, 20 Nov 2008)
New Revision: 4732
Modified:
remoting2/branches/2.x/src/etc/remoting.security.policy.core
Log:
JBREM-1067: Added permissions for new jnpserver.jar.
Modified: remoting2/branches/2.x/src/etc/remoting.security.policy.core
===================================================================
--- remoting2/branches/2.x/src/etc/remoting.security.policy.core 2008-11-20 16:02:46 UTC
(rev 4731)
+++ remoting2/branches/2.x/src/etc/remoting.security.policy.core 2008-11-20 17:28:45 UTC
(rev 4732)
@@ -160,6 +160,9 @@
permission java.lang.RuntimePermission "getClassLoader";
permission java.lang.RuntimePermission "setContextClassLoader";
+ // Used by org.jboss.remoting.detection.jndi.JNDIDetector
+ permission java.lang.RuntimePermission
"org.jboss.naming.NamingContext.getLocal";
+
// Used by:
// org.jboss.remoting.security.SSLSocketBuilder
// org.jboss.remoting.transport.coyote.CoyoteInvoker
@@ -260,8 +263,18 @@
permission java.util.PropertyPermission
"jboss.remoting.pre_2_0_compatible", "read";
permission java.util.PropertyPermission "jboss.remoting.version",
"read, write";
-
+
/////////////////////////////////////////////////////////////////////////////////////////////
+// JBoss permissions
+
+ // Used by JNDIDetector
+ permission org.jboss.naming.JndiPermission "detection",
"createSubcontext";
+ permission org.jboss.naming.JndiPermission "detection",
"listBindings";
+ permission org.jboss.naming.JndiPermission "detection",
"lookup";
+ permission org.jboss.naming.JndiPermission "detection/*",
"rebind";
+ permission org.jboss.naming.JndiPermission "detection/*",
"unbind";
+
+/////////////////////////////////////////////////////////////////////////////////////////////
// Permissions used by JBossSerialization.
// [TODO - JBoss Serialization SHOULD be doing these operations in a privileged block -
JBSER-105]