Return-Path: X-Original-To: apmail-activemq-issues-archive@minotaur.apache.org Delivered-To: apmail-activemq-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6490718560 for ; Tue, 4 Aug 2015 12:52:05 +0000 (UTC) Received: (qmail 17441 invoked by uid 500); 4 Aug 2015 12:52:05 -0000 Delivered-To: apmail-activemq-issues-archive@activemq.apache.org Received: (qmail 17409 invoked by uid 500); 4 Aug 2015 12:52:05 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 17399 invoked by uid 99); 4 Aug 2015 12:52:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2015 12:52:05 +0000 Date: Tue, 4 Aug 2015 12:52:05 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMQ-5814) Wrong with role-based authorization when using right permission MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-5814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp updated AMQ-5814: ----------------------------- Fix Version/s: 5.11.2 > Wrong with role-based authorization when using right permission > --------------------------------------------------------------- > > Key: AMQ-5814 > URL: https://issues.apache.org/jira/browse/AMQ-5814 > Project: ActiveMQ > Issue Type: Bug > Components: Broker, MQTT > Affects Versions: 5.10.0, 5.10.2, 5.11.0, 5.11.1 > Environment: Unix, Windows > Reporter: PhuNH5-VTICT > Assignee: Timothy Bish > Priority: Critical > Fix For: 5.11.2, 5.12.0 > > Attachments: activemq-snapshot-5.12-20150529.223833.txt > > > Since version 5.10, the problem has been caused by broker. It was behaving wrong with role-based authorization. I have configured right SimpleAuthorization plugin but no luck. > I guess it has problem from -AMQ-5160- > Here my test cases on github, please review and let me know if you have any questions: https://github.com/hongphu8790/activemq/tree/master/mqtt-authorization-test > Project test-case descriptions: > - Using debug mode for broker to view detail > problem. > - Repeat with pom.xml file > + With AMQ 5.9.1 (it will pass all test cases) > + With AMQ >= 5.10.0 (it will pass only test cases with using publisher have super permission > Here my log occurred when the test case failed: > {code:title=Log debug mode - activemq.log|borderStyle=solid} > 2015-05-29 10:30:24,746 | DEBUG | AbstractRegion | Subscription denied for TopicSubscription: consumer=ID:XXXXXX-50828-1432870224218-2:2:-1:1, destinations=0, dispatched=0, delivered=0, matched=0, discarded=0 to destination topic://dcu.id: User publisher is not authorized to read from: topic://dcu.id > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)