Hi Deepak,
Thanks.
Got it working by adding withCredentials method.
cluster = Cluster.builder()
.addContactPoint(node)
.withCredentials("yourusername", "yourpassword")
.build();
On Wed, Feb 11, 2015 at 2:03 AM, Deepak Shetty wrote:
> see the API docs
> http://www.data
see the API docs
http://www.datastax.com/drivers/java/2.0/index.html
Cluster.builder has a withCredentials method
regards
deepak
On Tue, Feb 10, 2015 at 12:24 PM, Chamila Wijayarathna <
cdwijayarat...@gmail.com> wrote:
> Hello all,
>
> I changed the authenticator value of my Cassandra database t
Hello all,
I changed the authenticator value of my Cassandra database to
'PasswordAuthenticator' in cassandra.yaml file. Previously I used following
code to connect to the database using java.
public void connect(String node) {
cluster = Cluster.builder()
.addContactPoint(nod