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.

19 lines
1.1 KiB

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. // needed because jackson-databind is using Class#getDeclaredConstructors(), Class#getDeclaredMethods() and
  10. // Class#getDeclaredAnnotations() to find all public, private, protected, package protected and
  11. // private constructors, methods or annotations. Just locating all public constructors, methods and annotations
  12. // should be enough, so this permission wouldn't then be needed. Unfortunately this is not what jackson-databind does
  13. // or can be configured to do.
  14. permission java.lang.RuntimePermission "accessDeclaredMembers";
  15. // Also needed because of jackson-databind:
  16. permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
  17. permission java.net.SocketPermission "*", "connect";
  18. };