incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Evans <>
Subject Re: using SimpleAuthenticator is not working
Date Mon, 15 Nov 2010 21:36:23 GMT
On Mon, 2010-11-15 at 12:26 -0800, Alaa Zubaidi wrote:
> I set authority to SimpleAuthority and log4j.rootLogger=DEBUG,stdout,R
> and its still the same, the error in my application is
> $  
> InvalidRequestException(why: you have not logged in)
> and in the system.log after DEBUG ...... Disseminating load info...
> DEBUG ...... batch_mutate
> There is no mention to the login() and set_keyspace() methods.
> and no other information..

The login() method will either raise an AuthenticationException in the
client application if the login failed, or log something like "logged
in: #<User username groups=groupname>" if it succeeded.

Either you're not actually calling login(), or your code is trapping the
exception and obscuring the failure. 

Eric Evans

View raw message