8000 release 1.4.0 · blogsit/elasticsearch-http-basic@fdbcfee · GitHub
[go: up one dir, main page]

Skip to content

Commit fdbcfee

Browse files
author
Ernesto
committed
release 1.4.0
Commit elastic/elasticsearch@10af60b changes how transport module is initialized, breaking HttpBasicServerModule for Guice. -updated depenencies -HttpBasicServerModule inherits calls HttpServerModule's -configure, which binds an HttpServerTransport Updated integration tests -new abstract class for common functionality, from which all integration tests inherit. -using the HttpRequestBuilder for buliding the request. -abstract class HttpBasicServerPluginIntegrationTest sets the host to localhost. The test requests will also have localhost, making tests consistent.
1 parent 08d3817 commit fdbcfee

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
[![Build Status](https://travis-ci.org/Asquera/elasticsearch-http-basic.svg?branch=master)](https://travis-ci.org/Asquera/elasticsearch-http-basic)
12

2-
**IMPORTANT NOTICE**: versions 1.0.4 and 1.1.0 are *insecure and should not be used*.
3+
**IMPORTANT NOTICE**: versions 1.0.4 is *insecure and should not be used*.
34
They have a bug that allows an attacker to get ip authentication by setting
4-
its ip on the 'Host' header. A fix is provided for versions v1.2.0 and
5-
v.1.3.0 of the plugin.
5+
its ip on the 'Host' header.
66

77
# HTTP Basic auth for ElasticSearch
88

@@ -18,8 +18,8 @@ There is no way to configure this on a per index basis.
1818

1919
| Http Basic Plugin | elasticsearch |
2020
|-----------------------------|-----------------------|
21-
| v1.4.0.Beta1 (1.4.0.Beta1) | 1.4.0.Beta1 |
22-
| v1.3.0(master) | 1.3.0 |
21+
| v1.4.0(master) | 1.4.0 |
22+
| v1.3.0 | 1.3.0 |
2323
| v1.2.0 | 1.2.0 |
2424
| 1.1.0 | 1.0.0 |
2525
| 1.0.4 | 0.90.7 |

pom.xml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,17 @@
1212

1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<elasticsearch.version>1.4.0.Beta1</elasticsearch.version>
16-
<lucene.version>4.10.1</lucene.version>
15+
<elasticsearch.version>1.4.0</elasticsearch.version>
16+
<lucene.version>4.10.2</lucene.version>
17+
<lucene.maven.version>4.10.2</lucene.maven.version>
1718
</properties>
1819

1920
<dependencies>
2021

2122
<dependency>
2223
<groupId>org.apache.lucene</groupId>
2324
<artifactId>lucene-test-framework</artifactId>
24-
<version>${lucene.version}</version>
25+
<version>${lucene.maven.version}</version>
2526
<scope>test</scope>
2627
</dependency>
2728

@@ -32,6 +33,12 @@
3233
<scope>test</scope>
3334
</dependency>
3435

36+
<dependency>
37+
<groupId>com.carrotsearch.randomizedtesting</groupId>
38+
<artifactId>randomizedtesting-runner</artifactId>
39+
<version>2.1.10</version>
40+
<scope>test</scope>
41+
</dependency>
3542
<dependency>
3643
<groupId>org.elasticsearch</groupId>
3744
<artifactId>elasticsearch</artifactId>

0 commit comments

Comments
 (0)
0