[
https://issues.apache.org/jira/browse/CASSANDRA-970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855682#action_12855682
]
Ted Zlatanov commented on CASSANDRA-970:
----------------------------------------
This is great, but the exception should be an AuthorizationException, see
cassandra.thrift:
/** invalid authentication request (user does not exist or credentials invalid)
*/
exception AuthenticationException {
1: required string why
}
/** invalid authorization request (user does not have access to keyspace) */
exception AuthorizationException {
1: required string why
}
> Throw NotFoundException when attempting to authenticate to a nonexistent
> keyspace
> ---------------------------------------------------------------------------------
>
> Key: CASSANDRA-970
> URL: https://issues.apache.org/jira/browse/CASSANDRA-970
> Project: Cassandra
> Issue Type: New Feature
> Reporter: Todd Blose
> Assignee: Todd Blose
> Fix For: 0.7
>
>
> In login, if a keyspace does not exist, a NotFoundException should be thrown.
> This way, the other thrift methods won't be executed against an invalid
> keyspace.
> Any objections to adding this?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira