Need help to setup basic HTTP authentication

I m new in Elasticsearch, I want to implement Besic HTTP Authentication, I
have downloaded the plugin but not able to implement. The readme files
doesn't state how to implement it. Any help will be appreciated.

On Friday, 29 June 2012 13:10:11 UTC+2, aps wrote:

I m new in Elasticsearch, I want to implement Besic HTTP Authentication, I
have downloaded the plugin but not able to implement. The readme files
doesn't state how to implement it. Any help will be appreciated.

I tried the read me file instruction... but it is not exactly guiding me to
setup HTTP plugin.

On Friday, 29 June 2012 13:10:11 UTC+2, aps wrote:

I m new in Elasticsearch, I want to implement Besic HTTP Authentication, I
have downloaded the plugin but not able to implement. The readme files
doesn't state how to implement it. Any help will be appreciated.

I've found the easiest way is to use Apache as a reverse proxy, implement basic auth there. That's because I'm more familiar with Apache than anything else (Java, ES plugins etc).

If anyone is using chef, i wrote a cookbook what has jetty http basic-auth
implementation.

https://github.com/sebwendel/chef-elasticsearch.git use the "0.1.0" branch.

please have a try, feedback is more than be welcome.

If you have trouble just let me know, i would like to help.

2012/6/30 Nick Dunn nick@nick-dunn.co.uk

I've found the easiest way is to use Apache as a reverse proxy, implement
basic auth there. That's because I'm more familiar with Apache than
anything else (Java, ES plugins etc).

You can use this GitHub - Asquera/elasticsearch-http-basic: HTTP Basic Authentication for Elasticsearch (Discontinued)
GitHub - sonian/elasticsearch-jetty

On Saturday, June 30, 2012 5:47:49 PM UTC+5:30, Nick Dunn wrote:

I've found the easiest way is to use Apache as a reverse proxy, implement
basic auth there. That's because I'm more familiar with Apache than
anything else (Java, ES plugins etc).

On Saturday, June 30, 2012 5:45:25 PM UTC+3, jagdeep wrote:

You can use this GitHub - Asquera/elasticsearch-http-basic: HTTP Basic Authentication for Elasticsearch (Discontinued)

Yep, it's quite easy:

mkdir -p plugins/http-basic

cp elasticsearch-http-basic-1.0.3.jar plugins/http-basic/

Then you need to add the following to your config, before restarting
Elasticsearch:

http.basic.enabled: true
http.basic.user: "myuser"
http.basic.password: "mypass"

GitHub - sonian/elasticsearch-jetty

On Saturday, June 30, 2012 5:47:49 PM UTC+5:30, Nick Dunn wrote:

I've found the easiest way is to use Apache as a reverse proxy, implement
basic auth there. That's because I'm more familiar with Apache than
anything else (Java, ES plugins etc).

Thanks all... I will try it and post comment...

On Friday, 29 June 2012 13:10:11 UTC+2, aps wrote:

I m new in Elasticsearch, I want to implement Besic HTTP Authentication, I
have downloaded the plugin but not able to implement. The readme files
doesn't state how to implement it. Any help will be appreciated.

I have done the settings.. how do you access it through URL... when I hit
"user myuser:mypass localhost:9200/sa/emp/1" it says bad URL

any clue?

On Monday, 2 July 2012 08:10:37 UTC+2, Radu Gheorghe wrote:

On Saturday, June 30, 2012 5:45:25 PM UTC+3, jagdeep wrote:

You can use this GitHub - Asquera/elasticsearch-http-basic: HTTP Basic Authentication for Elasticsearch (Discontinued)

Yep, it's quite easy:

mkdir -p plugins/http-basic

cp elasticsearch-http-basic-1.0.3.jar plugins/http-basic/

Then you need to add the following to your config, before restarting
Elasticsearch:

http.basic.enabled: true
http.basic.user: "myuser"
http.basic.password: "mypass"

GitHub - sonian/elasticsearch-jetty

On Saturday, June 30, 2012 5:47:49 PM UTC+5:30, Nick Dunn wrote:

I've found the easiest way is to use Apache as a reverse proxy,
implement basic auth there. That's because I'm more familiar with Apache
than anything else (Java, ES plugins etc).