mirror of https://github.com/apache/lucene.git
Tighten parts of the security policy for tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381047 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
29012070bf
commit
c453aec3f8
|
@ -46,9 +46,6 @@ grant {
|
|||
permission java.lang.reflect.ReflectPermission "*";
|
||||
permission java.lang.RuntimePermission "*";
|
||||
|
||||
// Needed for some things in DNS caching in the JVM
|
||||
permission java.security.SecurityPermission "*", "read,write";
|
||||
|
||||
// These two *have* to be spelled out a seperate
|
||||
permission java.lang.management.ManagementPermission "control";
|
||||
permission java.lang.management.ManagementPermission "monitor";
|
||||
|
@ -63,4 +60,9 @@ grant {
|
|||
// TIKA uses BouncyCastle and that registers new provider for PDF parsing + MSOffice parsing. Maybe report as bug!
|
||||
permission java.security.SecurityPermission "putProviderProperty.BC";
|
||||
permission java.security.SecurityPermission "insertProvider.BC";
|
||||
|
||||
// Needed for some things in DNS caching in the JVM
|
||||
permission java.security.SecurityPermission "getProperty.networkaddress.cache.ttl";
|
||||
permission java.security.SecurityPermission "getProperty.networkaddress.cache.negative.ttl";
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue