activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbert...@apache.org
Subject [1/2] activemq-artemis git commit: ARTEMIS-907 Fix NettySecurityClientTest
Date Wed, 04 Jan 2017 16:58:05 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master bdabcbcbe -> 4dc975187


ARTEMIS-907 Fix NettySecurityClientTest


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/39f5ef61
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/39f5ef61
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/39f5ef61

Branch: refs/heads/master
Commit: 39f5ef619893538d043c24998f0b92e30c7c07a2
Parents: bdabcbc
Author: Howard Gao <howard.gao@gmail.com>
Authored: Tue Jan 3 15:59:06 2017 +0800
Committer: Justin Bertram <jbertram@apache.org>
Committed: Wed Jan 4 10:50:18 2017 -0600

----------------------------------------------------------------------
 .../test/resources/restricted-security-client.policy    | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/39f5ef61/tests/integration-tests/src/test/resources/restricted-security-client.policy
----------------------------------------------------------------------
diff --git a/tests/integration-tests/src/test/resources/restricted-security-client.policy
b/tests/integration-tests/src/test/resources/restricted-security-client.policy
index 119861a..ecd4081 100644
--- a/tests/integration-tests/src/test/resources/restricted-security-client.policy
+++ b/tests/integration-tests/src/test/resources/restricted-security-client.policy
@@ -57,6 +57,18 @@ grant {
         permission java.util.PropertyPermission "sun.nio.ch.bugLevel", "read";
         permission java.util.PropertyPermission "io.netty.leakDetection.level", "read";
         permission java.util.PropertyPermission "io.netty.leakDetection.maxRecords", "read";
+
+        permission java.util.PropertyPermission "java.util.secureRandomSeed", "read";
+        permission java.util.PropertyPermission "io.netty.initialSeedUniquifier", "read";
+        permission java.util.PropertyPermission "io.netty.maxDirectMemory", "read";
+        permission java.util.PropertyPermission "io.netty.eventexecutor.maxPendingTasks",
"read";
+        permission java.util.PropertyPermission "io.netty.defaultPromise.maxListenerStackDepth",
"read";
+        permission java.util.PropertyPermission "io.netty.eventLoop.maxPendingTasks", "read";
+        permission java.util.PropertyPermission "io.netty.processId", "read";
+        permission java.util.PropertyPermission "io.netty.machineId", "read";
+        permission java.util.PropertyPermission "java.net.preferIPv4Stack", "read";
+        permission java.util.PropertyPermission "java.net.preferIPv6Addresses", "read";
+
         permission java.lang.RuntimePermission "setContextClassLoader";
         permission java.lang.RuntimePermission "accessDeclaredMembers";
         permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";


Mime
View raw message