On Wed, 02 Dec 2009 14:14:53 -0600 Eric Evans <eev...@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