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.

22 lines
845 B

1 year ago
  1. /*
  2. * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
  3. * or more contributor license agreements. Licensed under the Elastic License
  4. * 2.0 and the Server Side Public License, v 1; you may not use this file except
  5. * in compliance with, at your election, the Elastic License 2.0 or the Server
  6. * Side Public License, v 1.
  7. */
  8. grant {
  9. // reindex opens socket connections using the rest client
  10. permission java.net.SocketPermission "*", "connect";
  11. };
  12. grant codeBase "${codebase.elasticsearch-rest-client}" {
  13. // rest client uses system properties which gets the default proxy
  14. permission java.net.NetPermission "getProxySelector";
  15. };
  16. grant codeBase "${codebase.httpasyncclient}" {
  17. // rest client uses system properties which gets the default proxy
  18. permission java.net.NetPermission "getProxySelector";
  19. };