jw项目windows环境软件安装
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
1007 B

1 year ago
  1. grant {
  2. // needed because of problems in unbound LDAP library
  3. permission java.util.PropertyPermission "*", "read,write";
  4. // required to configure the custom mailcap for watcher
  5. permission java.lang.RuntimePermission "setFactory";
  6. // needed when sending emails for javax.activation
  7. // otherwise a classnotfound exception is thrown due to trying
  8. // to load the class with the application class loader
  9. permission java.lang.RuntimePermission "setContextClassLoader";
  10. permission java.lang.RuntimePermission "getClassLoader";
  11. // TODO: remove use of this jar as soon as possible!!!!
  12. permission java.lang.RuntimePermission "accessClassInPackage.com.sun.activation.registries";
  13. // needed for multiple server implementations used in tests
  14. permission java.net.SocketPermission "*", "accept,connect";
  15. };
  16. grant codeBase "${codebase.elasticsearch-rest-client}" {
  17. // rest client uses system properties which gets the default proxy
  18. permission java.net.NetPermission "getProxySelector";
  19. };