incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Brosius <>
Subject Re: Custom 1.2 Authentication plugin will not work unless user is in system_auth.users column family
Date Mon, 17 Jun 2013 22:29:51 GMT
It seems to me that isExistingUser should be pushed down to the 
IAuthenticator implementation.

Perhaps you should add a ticket to

On 06/17/2013 05:12 PM, Bao Le wrote:
> Hi,
>   We have a custom  authenticator that works well with Cassandra 1.1.5.
> When upgrading to C* 1.2.5, authentication failed. Turn out that in 
> ClientState.login, we make a call to Auth.isExistingUser(user.getName())
> if the AuthenticatedUser is not Anonymous user. This isExistingUser 
> method does a query on system_auth.users and if it cannot find the 
> name there, throw an exception.
>   If our authentication model involves exchanging data on the fly and 
> not relying on pre-created users, how do we bypass this check? Should we
> add a method on IAuthenticator to specify whether user look-up is 
> needed or not?
> Bao

View raw message