cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Zlatanov <...@lifelogs.com>
Subject Re: Cassandra access control
Date Wed, 02 Dec 2009 20:27:04 GMT
On Wed, 02 Dec 2009 14:14:53 -0600 Eric Evans <eevans@rackspace.com> wrote: 

EE> Did you maybe mean...?  AuthenticationRequest required for the
EE> method (has to be), but the map is optional?

Either way will work.  With your suggestion and allowing for auth
backends to modify the authentication request:

struct AuthenticationRequest {
    1: optional map<string, string> credentials,
}

service Cassandra {
...
  # authentication and authorization.  Returns the authentication request (never null) with
any auth tokens that may have been created by the auth backends 
  AuthenticationRequest login(1: required string keyspace, 
                              2: required AuthenticationRequest auth_request) 
                        throws (1:AuthenticationException aux, 2: AuthorizationException azx),
...
}

Ted


Mime
View raw message