-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
None
-
None
-
False
-
False
-
-
Undefined
-
Verified in a release
-
-
- Download amq 7.7
- create a broker (artemis create broker)
- replace broker.xml, logging.properties, artemis-users.properties, artemis-roles.properties
-
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]]
- clones
-
ENTMQBR-4148 Audit message shows a wrong messages in the log
- Closed