Sigmund Lundgren created CASSANDRA-6203:
-------------------------------------------
Summary: Authentication error on host localhost/127.0.0.1:
Required key 'username' is missing
Key: CASSANDRA-6203
URL: https://issues.apache.org/jira/browse/CASSANDRA-6203
Project: Cassandra
Issue Type: Bug
Components: Core
Environment: Mac OS X 10.8.5, java 1.7.0_40
Reporter: Sigmund Lundgren
When trying to authenticate using the datastax java driver 1.0.3 I get this
exception message while trying to connect to my local cassandra:
Authentication error on host localhost/127.0.0.1: Required key 'username' is
missing
Tried cassandra 2.0 and 1.2.10, works fine.
Config:
authenticator: PasswordAuthenticator
authorizer: CassandraAuthorizer
Sample code:
Cluster.builder()
.withCredentials(username, password)
.withCompression(ProtocolOptions.Compression.NONE)
.addContactPoint(host).build()
--
This message was sent by Atlassian JIRA
(v6.1#6144)