Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-2143

Wrong with role-based authorization when using right permission

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • JBoss A-MQ 6.3.x
    • JBoss A-MQ 6.2.1, JBoss A-MQ 6.3
    • broker
    • None
    • +

    Description

      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:

      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

      Attachments

        Issue Links

          Activity

            People

              gtully@redhat.com Gary Tully
              rhn-support-rkieley Roderick Kieley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: