cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daning Wang <>
Subject 1.2 Authentication
Date Tue, 29 Jan 2013 01:24:03 GMT
We were using SimpleAuthenticator on 1.1.x, it worked fine.

While testing 1.2, I have put classes under example/simple_authentication
in a jar and copy to lib directory, the class is loaded. however, when I
try to connect with correct user/password, it gives me error

./cqlsh s2.dsat103-e1a -u xxxx -p yyyy
Traceback (most recent call last):
  File "./cqlsh", line 2262, in <module>
    main(*read_options(sys.argv[1:], os.environ))
  File "./cqlsh", line 2248, in main
  File "./cqlsh", line 483, in __init__
    cql_version=cqlver, transport=transport)
  File "./../lib/",
line 143, in connect
  File "./../lib/",
line 59, in __init__
  File "./../lib/",
line 157, in establish_connection
line 455, in login
line 476, in recv_login
AuthenticationException(why="User xxxx doesn't exist - create it with
CREATE USER query first")

What does "create it with CREATE USER query first" mean?

I put debug information in SimpleAuthenticator class, that showed
authentication is passed in the authenticate() method.



View raw message