diff options
author | Tal Gitelman <tg851x@intl.att.com> | 2018-09-13 20:28:32 +0300 |
---|---|---|
committer | Tal Gitelman <tg851x@intl.att.com> | 2018-09-13 17:31:22 +0000 |
commit | 0e9742f33076348a98dcff8190091b2a89cd327f (patch) | |
tree | c3b1759fdbee5682bf3d6ce1cc799f1fb1e3541c /catalog-dao/src/main | |
parent | c726f770af3e625686658a14563bdfb7666d3450 (diff) |
fix security vilation CVE-2018-1000134
Change-Id: Id93a27648c622460db2e86689b64bfa7dc425ef4
Issue-ID: SDC-1726
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'catalog-dao/src/main')
-rw-r--r-- | catalog-dao/src/main/java/org/openecomp/sdc/be/dao/es/ElasticSearchClient.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/es/ElasticSearchClient.java b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/es/ElasticSearchClient.java index 47ce679c29..1547d01ac2 100644 --- a/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/es/ElasticSearchClient.java +++ b/catalog-dao/src/main/java/org/openecomp/sdc/be/dao/es/ElasticSearchClient.java @@ -27,7 +27,6 @@ import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.transport.InetSocketTransportAddress; import org.elasticsearch.node.Node; import org.elasticsearch.node.NodeBuilder; -import org.elasticsearch.shield.ShieldPlugin; import org.openecomp.sdc.common.log.wrappers.Logger; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; @@ -99,7 +98,7 @@ public class ElasticSearchClient { } if (isTransportClient()) { log.info("******* ElasticSearchClient type is Transport Client *****"); - TransportClient transportClient = TransportClient.builder().addPlugin(ShieldPlugin.class).settings(settings) + TransportClient transportClient = TransportClient.builder().settings(settings) .build(); String[] nodesArray = transportClient.settings().getAsArray("transport.client.initial_nodes"); |