Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-4422

[LTS] Audit message shows a wrong messages in the log

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
      • Download amq 7.7
      • create a broker (artemis create broker)
      • replace broker.xml, logging.properties, artemis-users.properties, artemis-roles.properties
    • Hide

      bin/artemis consumer --destination queue://order.a --url tcp://localhost:61616 --user billuser --password orderuser --message-count 10

      Show
      bin/artemis consumer --destination queue://order.a --url tcp://localhost:61616 --user billuser --password orderuser --message-count 10
    • Verified in a release

    Description

      Audit * When a user which does not have access to a queue, audit message print an entry log that is consuming messages:

      In case of producer,

      bin/artemis producer --destination queue://order.a --url tcp://localhost:61616 --user orderuser --password orderuser --message-count 10
      

      We got the following message:

      2020-10-26 15:34:31,365 INFO  [org.apache.activemq.audit.message] AMQ601501: User admin(amq)@127.0.0.1:54580 is consuming a message from order.a
      

      In case of consumer,

      bin/artemis consumer --destination queue://order.a --url tcp://localhost:61616 --user billuser --password orderuser
      

      we got the following message:

      2020-10-26 15:35:20,501 INFO  [org.apache.activemq.audit.resource] AMQ601715: User admin(amq)@127.0.0.1:55919 successfully authorized
      2020-10-26 15:35:20,522 INFO  [org.apache.activemq.audit.base] AMQ601265: User admin(amq)@127.0.0.1:55919 is creating a core consumer on target resource ServerSessionImpl(jms-session=*N/A*) [with parameters: [0, order.a, null, 0, false, true, null]]
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-jbertram Justin Bertram
              dbruscin Domenico Francesco Bruscino
              Mikhail Krutov Mikhail Krutov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: