Skip to content
This repository has been archived by the owner on Mar 4, 2019. It is now read-only.

Commit

Permalink
release 1.4.0
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ernesto committed Jan 19, 2015
1 parent 08d3817 commit fdbcfee
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[![Build Status](https://travis-ci.org/Asquera/elasticsearch-http-basic.svg?branch=master)](https://travis-ci.org/Asquera/elasticsearch-http-basic)

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

# HTTP Basic auth for ElasticSearch

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

| Http Basic Plugin | elasticsearch |
|-----------------------------|-----------------------|
| v1.4.0.Beta1 (1.4.0.Beta1) | 1.4.0.Beta1 |
| v1.3.0(master) | 1.3.0 |
| v1.4.0(master) | 1.4.0 |
| v1.3.0 | 1.3.0 |
| v1.2.0 | 1.2.0 |
| 1.1.0 | 1.0.0 |
| 1.0.4 | 0.90.7 |
Expand Down
13 changes: 10 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,17 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<elasticsearch.version>1.4.0.Beta1</elasticsearch.version>
<lucene.version>4.10.1</lucene.version>
<elasticsearch.version>1.4.0</elasticsearch.version>
<lucene.version>4.10.2</lucene.version>
<lucene.maven.version>4.10.2</lucene.maven.version>
</properties>

<dependencies>

<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-test-framework</artifactId>
<version>${lucene.version}</version>
<version>${lucene.maven.version}</version>
<scope>test</scope>
</dependency>

Expand All @@ -32,6 +33,12 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.carrotsearch.randomizedtesting</groupId>
<artifactId>randomizedtesting-runner</artifactId>
<version>2.1.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
Expand Down

0 comments on commit fdbcfee

Please sign in to comment.