From 53294f217c02a03d97d68e45d6a4a6674f942a8c Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Wed, 6 Sep 2017 18:58:17 -0700 Subject: [PATCH] Use versionless alias to ES rest client codebase (elastic/x-pack-elasticsearch#2441) This is the xpack side of https://github.com/elastic/elasticsearch/pull/26521 Original commit: elastic/x-pack-elasticsearch@b650e9e43329333e9d121cf589f47c4915119eba --- plugin/src/main/plugin-metadata/plugin-security.policy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/plugin-metadata/plugin-security.policy b/plugin/src/main/plugin-metadata/plugin-security.policy index ba71c54ba92..d375ac82323 100644 --- a/plugin/src/main/plugin-metadata/plugin-security.policy +++ b/plugin/src/main/plugin-metadata/plugin-security.policy @@ -32,7 +32,7 @@ grant { permission java.io.FilePermission "\\\\.\\pipe\\*", "read,write"; }; -grant codeBase "${codebase.elasticsearch-rest-client-7.0.0-alpha1-SNAPSHOT.jar}" { +grant codeBase "${codebase.elasticsearch-rest-client}" { // rest client uses system properties which gets the default proxy permission java.net.NetPermission "getProxySelector"; };