Allow use of bouncycastle
This commit is contained in:
parent
27b8e59c24
commit
46c89f006d
|
@ -80,6 +80,7 @@ final class Security {
|
|||
m.put(Pattern.compile(".*lucene-core-.*\\.jar$"), "es.security.jar.lucene.core");
|
||||
m.put(Pattern.compile(".*jsr166e-.*\\.jar$"), "es.security.jar.twitter.jsr166e");
|
||||
m.put(Pattern.compile(".*securemock-.*\\.jar$"), "es.security.jar.elasticsearch.securemock");
|
||||
m.put(Pattern.compile(".*bcprov-.*\\.jar$"), "es.security.jar.bouncycastle.bcprov");
|
||||
SPECIAL_JARS = Collections.unmodifiableMap(m);
|
||||
}
|
||||
|
||||
|
|
|
@ -47,6 +47,11 @@ grant codeBase "${es.security.jar.elasticsearch.securemock}" {
|
|||
permission java.lang.RuntimePermission "reflectionFactoryAccess";
|
||||
};
|
||||
|
||||
grant codeBase "${es.security.jar.bouncycastle.bcprov}" {
|
||||
// needed to allow installation of bouncycastle crypto provider
|
||||
permission java.security.SecurityPermission "putProviderProperty.BC";
|
||||
};
|
||||
|
||||
//// Everything else:
|
||||
|
||||
grant {
|
||||
|
|
Loading…
Reference in New Issue