"Fossies" - the Fresh Open Source Software Archive 
Member "elasticsearch-6.8.23/modules/x-pack-graph/plugin-security.policy" (6 Jan 2022, 1045 Bytes) of package /linux/www/elasticsearch-6.8.23.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 grant {
2 // needed for multiple server implementations used in tests
3 permission java.net.SocketPermission "*", "accept,connect";
4 };
5
6 grant codeBase "${codebase.netty-common}" {
7 // for reading the system-wide configuration for the backlog of established sockets
8 permission java.io.FilePermission "/proc/sys/net/core/somaxconn", "read";
9 };
10
11 grant codeBase "${codebase.netty-transport}" {
12 // Netty NioEventLoop wants to change this, because of https://bugs.openjdk.java.net/browse/JDK-6427854
13 // the bug says it only happened rarely, and that its fixed, but apparently it still happens rarely!
14 permission java.util.PropertyPermission "sun.nio.ch.bugLevel", "write";
15 };
16
17 grant codeBase "${codebase.elasticsearch-rest-client}" {
18 // rest client uses system properties which gets the default proxy
19 permission java.net.NetPermission "getProxySelector";
20 };
21
22 grant codeBase "${codebase.httpasyncclient}" {
23 // rest client uses system properties which gets the default proxy
24 permission java.net.NetPermission "getProxySelector";
25 };