Getting following exception while connecting to Cassandra Cluster withAuthentication:
Exception in thread "main" com.datastax.driver.core.exceptions.AuthenticationException: Authentication error on host /127.0.0.1: SASL Authentication is not supported in version 1 of the protocol at com.datastax.driver.core.Connection.waitForSaslCompletion(Connection.java:203) at com.datastax.driver.core.Connection.initializeTransport(Connection.java:169)
- I am using PasswordAuthenticator and CassandraAuth* in Config file.
- Using default Cassandra account(cassandra/cassandra)
DSE distributes a patched driver for use with DSE 3.1 authentication.
See https://github.com/datastax/java-driver/tree/1.0 and this...
DSE users should use the following Maven dependency (note the version is set to 1.0.5-dse):