Your IP : 216.73.216.81


Current Path : /proc/thread-self/root/usr/share/elasticsearch/modules/x-pack-core/
Upload File :
Current File : //proc/thread-self/root/usr/share/elasticsearch/modules/x-pack-core/plugin-security.policy

grant {
  // bouncy castle
  permission java.security.SecurityPermission "putProviderProperty.BC";

  // needed in (cf. o.e.x.c.s.s.RestorableContextClassLoader)
  permission java.lang.RuntimePermission "getClassLoader";
  permission java.lang.RuntimePermission "setContextClassLoader";

  // needed for multiple server implementations used in tests
  permission java.net.SocketPermission "*", "accept,connect";

  // needed because of problems in unbound LDAP library
  permission java.util.PropertyPermission "*", "read,write";
};

grant codeBase "${codebase.netty-common}" {
   // for reading the system-wide configuration for the backlog of established sockets
   permission java.io.FilePermission "/proc/sys/net/core/somaxconn", "read";
   // Netty sets custom classloader for some of its internal threads
   permission java.lang.RuntimePermission "setContextClassLoader";
};

grant codeBase "${codebase.netty-transport}" {
   // Netty NioEventLoop wants to change this, because of https://bugs.openjdk.java.net/browse/JDK-6427854
   // the bug says it only happened rarely, and that its fixed, but apparently it still happens rarely!
   permission java.util.PropertyPermission "sun.nio.ch.bugLevel", "write";
};

grant codeBase "${codebase.httpasyncclient}" {
  // rest client uses system properties which gets the default proxy
  permission java.net.NetPermission "getProxySelector";
};