Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "API" page has been changed by NickTelford. The comment on this change is: Added authentication API for Cassandra 0.6. http://wiki.apache.org/cassandra/API?action=diff&rev1=42&rev2=43 -------------------------------------------------- UnavailableException:: Not all the replicas required could be created and/or read. TimedOutException:: The node responsible for the write or read did not respond during the rpc interval specified in your configuration (default 10s). This can happen if the request is too large, the node is oversaturated with requests, or the node is down but the failure detector has not yet realized it (usually this takes < 30s). TApplicationException:: Internal server error or invalid Thrift method (possible if you are using an older version of a Thrift client with a newer build of the Cassandra server). + AuthenticationException:: Invalid authentication request (user does not exist or credentials invalid) + AuthorizationException:: Invalid authorization request (user does not have access to keyspace) == Structures == === ConsistencyLevel === @@ -150, +152 @@ ||`credentials` ||`map<string, string>` ||n/a ||Y ||A map of named credentials. || == Method calls == + === login === + '''Requires Cassandra 0.6''' + + . `void login(keyspace, auth_request)` + + Authenticates with the cluster for operations on the specified keyspace using the specified `AuthenticationRequest` credentials. Throws `AuthenticationException` if the credentials are invalid or `AuthorizationException` if the credentials are valid, but not for the specified keyspace. + === get === . `ColumnOrSuperColumn get(keyspace, key, column_path, consistency_level)`
