[
https://issues.apache.org/jira/browse/CASSANDRA-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksey Yeschenko resolved CASSANDRA-6203.
------------------------------------------
Resolution: Duplicate
bq. Is it the same as https://datastax-oss.atlassian.net/browse/JAVA-190 which
was fixed by https://issues.apache.org/jira/browse/CASSANDRA-6233 ?
Yup. Thanks.
> 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)