Http basic authentication for node client

Hi,
I would like to use http basic authentication plugin(https://
github.com/Asquera/elasticsearch-http-basic.git) and i want to know
the way of connecting running node through java api;
Below is my code for settings;

Settings s =
ImmutableSettings.settingsBuilder().put("cluster.name",
CLUSTER).put("http.enabled",Boolean.FALSE).put("http.basic.enabled",Boolean.TRUE).put("http.basic.user","username").put("http.basic.password","password").build();
NodeBuilder nBuilder =
nodeBuilder().settings(s).client(true);
node = nBuilder.build().start();
client = node.client();

When I try above lines,getting error as shown below......
Exception in thread "main"
org.elasticsearch.common.collect.ComputationException:
java.lang.NoClassDefFoundError: org/elasticsearch/node/service/
NodeService

please help me out in this

That plugin only applies to HTTP.

On Thursday, March 1, 2012 at 7:47 AM, BARNEY wrote:

Hi,
I would like to use http basic authentication plugin(https://
GitHub - Asquera/elasticsearch-http-basic: HTTP Basic Authentication for Elasticsearch (Discontinued) (GitHub - Asquera/elasticsearch-http-basic: HTTP Basic Authentication for Elasticsearch (Discontinued))) and i want to know
the way of connecting running node through java api;
Below is my code for settings;

Settings s =
ImmutableSettings.settingsBuilder().put("cluster.name (http://cluster.name)",
CLUSTER).put("http.enabled",Boolean.FALSE).put("http.basic.enabled",Boolean.TRUE).put("http.basic.user","username").put("http.basic.password","password").build();
NodeBuilder nBuilder =
nodeBuilder().settings(s).client(true);
node = nBuilder.build().start();
client = node.client();

When I try above lines,getting error as shown below......
Exception in thread "main"
org.elasticsearch.common.collect.ComputationException:
java.lang.NoClassDefFoundError: org/elasticsearch/node/service/
NodeService

please help me out in this

Can you tell me if there is any way to perform authentication for this node
client which is using optimized binary protocol.

On Thu, Mar 1, 2012 at 6:03 PM, Shay Banon kimchy@gmail.com wrote:

That plugin only applies to HTTP.

On Thursday, March 1, 2012 at 7:47 AM, BARNEY wrote:

Hi,
I would like to use http basic authentication plugin(https://
GitHub - Asquera/elasticsearch-http-basic: HTTP Basic Authentication for Elasticsearch (Discontinued)) and i want to know
the way of connecting running node through java api;
Below is my code for settings;

Settings s =
ImmutableSettings.settingsBuilder().put("cluster.name",

CLUSTER).put("http.enabled",Boolean.FALSE).put("http.basic.enabled",Boolean.TRUE).put("http.basic.user","username").put("http.basic.password","password").build();
NodeBuilder nBuilder =
nodeBuilder().settings(s).client(true);
node = nBuilder.build().start();
client = node.client();

When I try above lines,getting error as shown below......
Exception in thread "main"
org.elasticsearch.common.collect.ComputationException:
java.lang.NoClassDefFoundError: org/elasticsearch/node/service/
NodeService

please help me out in this

No, there isn't, unless you tunnel it through one you build youserlf.

On Thursday, March 1, 2012 at 2:40 PM, kalyan chowdary wrote:

Can you tell me if there is any way to perform authentication for this node client which is using optimized binary protocol.

On Thu, Mar 1, 2012 at 6:03 PM, Shay Banon <kimchy@gmail.com (mailto:kimchy@gmail.com)> wrote:

That plugin only applies to HTTP.

On Thursday, March 1, 2012 at 7:47 AM, BARNEY wrote:

Hi,
I would like to use http basic authentication plugin(https://
GitHub - Asquera/elasticsearch-http-basic: HTTP Basic Authentication for Elasticsearch (Discontinued) (GitHub - Asquera/elasticsearch-http-basic: HTTP Basic Authentication for Elasticsearch (Discontinued))) and i want to know
the way of connecting running node through java api;
Below is my code for settings;

Settings s =
ImmutableSettings.settingsBuilder().put("cluster.name (http://cluster.name)",
CLUSTER).put("http.enabled",Boolean.FALSE).put("http.basic.enabled",Boolean.TRUE).put("http.basic.user","username").put("http.basic.password","password").build();
NodeBuilder nBuilder =
nodeBuilder().settings(s).client(true);
node = nBuilder.build().start();
client = node.client();

When I try above lines,getting error as shown below......
Exception in thread "main"
org.elasticsearch.common.collect.ComputationException:
java.lang.NoClassDefFoundError: org/elasticsearch/node/service/
NodeService

please help me out in this

Can you tell me the way of creating elasticsearch client which uses http
protocol in java and performs same operations as node clinet so that I can
use http basic authentication plugin.

On Thu, Mar 1, 2012 at 6:17 PM, Shay Banon kimchy@gmail.com wrote:

No, there isn't, unless you tunnel it through one you build youserlf.

On Thursday, March 1, 2012 at 2:40 PM, kalyan chowdary wrote:

Can you tell me if there is any way to perform authentication for this
node client which is using optimized binary protocol.

On Thu, Mar 1, 2012 at 6:03 PM, Shay Banon kimchy@gmail.com wrote:

That plugin only applies to HTTP.

On Thursday, March 1, 2012 at 7:47 AM, BARNEY wrote:

Hi,
I would like to use http basic authentication plugin(https://
GitHub - Asquera/elasticsearch-http-basic: HTTP Basic Authentication for Elasticsearch (Discontinued)) and i want to know
the way of connecting running node through java api;
Below is my code for settings;

Settings s =
ImmutableSettings.settingsBuilder().put("cluster.name",

CLUSTER).put("http.enabled",Boolean.FALSE).put("http.basic.enabled",Boolean.TRUE).put("http.basic.user","username").put("http.basic.password","password").build();
NodeBuilder nBuilder =
nodeBuilder().settings(s).client(true);
node = nBuilder.build().start();
client = node.client();

When I try above lines,getting error as shown below......
Exception in thread "main"
org.elasticsearch.common.collect.ComputationException:
java.lang.NoClassDefFoundError: org/elasticsearch/node/service/
NodeService

please help me out in this

There ins't a built in client that uses HTTP and provides the same Client interface.

On Friday, March 2, 2012 at 6:47 AM, kalyan chowdary wrote:

Can you tell me the way of creating elasticsearch client which uses http protocol in java and performs same operations as node clinet so that I can use http basic authentication plugin.

On Thu, Mar 1, 2012 at 6:17 PM, Shay Banon <kimchy@gmail.com (mailto:kimchy@gmail.com)> wrote:

No, there isn't, unless you tunnel it through one you build youserlf.

On Thursday, March 1, 2012 at 2:40 PM, kalyan chowdary wrote:

Can you tell me if there is any way to perform authentication for this node client which is using optimized binary protocol.

On Thu, Mar 1, 2012 at 6:03 PM, Shay Banon <kimchy@gmail.com (mailto:kimchy@gmail.com)> wrote:

That plugin only applies to HTTP.

On Thursday, March 1, 2012 at 7:47 AM, BARNEY wrote:

Hi,
I would like to use http basic authentication plugin(https://
GitHub - Asquera/elasticsearch-http-basic: HTTP Basic Authentication for Elasticsearch (Discontinued) (GitHub - Asquera/elasticsearch-http-basic: HTTP Basic Authentication for Elasticsearch (Discontinued))) and i want to know
the way of connecting running node through java api;
Below is my code for settings;

Settings s =
ImmutableSettings.settingsBuilder().put("cluster.name (http://cluster.name)",
CLUSTER).put("http.enabled",Boolean.FALSE).put("http.basic.enabled",Boolean.TRUE).put("http.basic.user","username").put("http.basic.password","password").build();
NodeBuilder nBuilder =
nodeBuilder().settings(s).client(true);
node = nBuilder.build().start();
client = node.client();

When I try above lines,getting error as shown below......
Exception in thread "main"
org.elasticsearch.common.collect.ComputationException:
java.lang.NoClassDefFoundError: org/elasticsearch/node/service/
NodeService

please help me out in this

Is there any way to insert authentication token and sending it from the
client side and verifying it on the server side(Elasticsearch)?

On Sun, Mar 4, 2012 at 3:22 AM, Shay Banon kimchy@gmail.com wrote:

There ins't a built in client that uses HTTP and provides the same Client
interface.

On Friday, March 2, 2012 at 6:47 AM, kalyan chowdary wrote:

Can you tell me the way of creating elasticsearch client which uses http
protocol in java and performs same operations as node clinet so that I can
use http basic authentication plugin.

On Thu, Mar 1, 2012 at 6:17 PM, Shay Banon kimchy@gmail.com wrote:

No, there isn't, unless you tunnel it through one you build youserlf.

On Thursday, March 1, 2012 at 2:40 PM, kalyan chowdary wrote:

Can you tell me if there is any way to perform authentication for this
node client which is using optimized binary protocol.

On Thu, Mar 1, 2012 at 6:03 PM, Shay Banon kimchy@gmail.com wrote:

That plugin only applies to HTTP.

On Thursday, March 1, 2012 at 7:47 AM, BARNEY wrote:

Hi,
I would like to use http basic authentication plugin(https://
GitHub - Asquera/elasticsearch-http-basic: HTTP Basic Authentication for Elasticsearch (Discontinued)) and i want to know
the way of connecting running node through java api;
Below is my code for settings;

Settings s =
ImmutableSettings.settingsBuilder().put("cluster.name",

CLUSTER).put("http.enabled",Boolean.FALSE).put("http.basic.enabled",Boolean.TRUE).put("http.basic.user","username").put("http.basic.password","password").build();
NodeBuilder nBuilder =
nodeBuilder().settings(s).client(true);
node = nBuilder.build().start();
client = node.client();

When I try above lines,getting error as shown below......
Exception in thread "main"
org.elasticsearch.common.collect.ComputationException:
java.lang.NoClassDefFoundError: org/elasticsearch/node/service/
NodeService

please help me out in this

No.

On Monday, March 5, 2012 at 11:18 AM, kalyan chowdary wrote:

Is there any way to insert authentication token and sending it from the client side and verifying it on the server side(Elasticsearch)?

On Sun, Mar 4, 2012 at 3:22 AM, Shay Banon <kimchy@gmail.com (mailto:kimchy@gmail.com)> wrote:

There ins't a built in client that uses HTTP and provides the same Client interface.

On Friday, March 2, 2012 at 6:47 AM, kalyan chowdary wrote:

Can you tell me the way of creating elasticsearch client which uses http protocol in java and performs same operations as node clinet so that I can use http basic authentication plugin.

On Thu, Mar 1, 2012 at 6:17 PM, Shay Banon <kimchy@gmail.com (mailto:kimchy@gmail.com)> wrote:

No, there isn't, unless you tunnel it through one you build youserlf.

On Thursday, March 1, 2012 at 2:40 PM, kalyan chowdary wrote:

Can you tell me if there is any way to perform authentication for this node client which is using optimized binary protocol.

On Thu, Mar 1, 2012 at 6:03 PM, Shay Banon <kimchy@gmail.com (mailto:kimchy@gmail.com)> wrote:

That plugin only applies to HTTP.

On Thursday, March 1, 2012 at 7:47 AM, BARNEY wrote:

Hi,
I would like to use http basic authentication plugin(https://
GitHub - Asquera/elasticsearch-http-basic: HTTP Basic Authentication for Elasticsearch (Discontinued) (GitHub - Asquera/elasticsearch-http-basic: HTTP Basic Authentication for Elasticsearch (Discontinued))) and i want to know
the way of connecting running node through java api;
Below is my code for settings;

Settings s =
ImmutableSettings.settingsBuilder().put("cluster.name (http://cluster.name)",
CLUSTER).put("http.enabled",Boolean.FALSE).put("http.basic.enabled",Boolean.TRUE).put("http.basic.user","username").put("http.basic.password","password").build();
NodeBuilder nBuilder =
nodeBuilder().settings(s).client(true);
node = nBuilder.build().start();
client = node.client();

When I try above lines,getting error as shown below......
Exception in thread "main"
org.elasticsearch.common.collect.ComputationException:
java.lang.NoClassDefFoundError: org/elasticsearch/node/service/
NodeService

please help me out in this