You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Flavio Junqueira (JIRA)" <ji...@apache.org> on 2015/12/07 13:12:10 UTC

[jira] [Commented] (KAFKA-2951) Additional authorization test cases

    [ https://issues.apache.org/jira/browse/KAFKA-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044830#comment-15044830 ] 

Flavio Junqueira commented on KAFKA-2951:
-----------------------------------------

[~ijuma] thanks for the feedback, I have updated the description to give more context.

> Additional authorization test cases
> -----------------------------------
>
>                 Key: KAFKA-2951
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2951
>             Project: Kafka
>          Issue Type: Test
>    Affects Versions: 0.9.0.0
>            Reporter: Flavio Junqueira
>            Assignee: Flavio Junqueira
>             Fix For: 0.9.1.0
>
>
> There are a few test cases that are worth adding. I've run them manually, but it sounds like a good idea to have them in:
> # Test incorrect topic name (authorization failure)
> # Test topic wildcard
> The first one is covered by checking access to a topic with no authorization, which could happen for example if the user as a typo in the topic name. This case is somewhat covered by the test case testProduceWithNoTopicAccess in AuthorizerIntegrationTest, but not in EndToEndAuthorizationTest. The second case consists of testing that using the topic wildcard works. This wildcard might end up being commonly used and it is worth checking the functionality. At the moment, I believe none of AuthorizerIntegrationTest or EndToEndAuthorizationTest.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)