Issue granting access via configuration in management.xml
Issue
The aim is to grant Jolokia access to users in the specified role "amq1" in the management.xml
The following has been set:
1. The role "amq1" has access to all queues (via access rules in the LDAP). See the following management.xml
<default-access>
<access method="list*" roles="amq"/>
<access method="get*" roles="amq"/>
<access method="is*" roles="amq"/>
<access method="set*" roles="amq"/>
<access method="*" roles="amq"/>
</default-access>
<role-access>
<match domain="org.apache.activemq.artemis">
<access method="list*" roles="amq,amq1"/>
<access method="get*" roles="amq,amq1"/>
<access method="is*" roles="amq,amq1"/>
<access method="set*" roles="amq,amq1"/>
<access method="browse*" roles="amq,amq1"/>
<access method="count*" roles="amq,amq1"/>
<access method="*" roles="amq"/>
</match>
...
But the following operations at the queue level are still locked for the user:
- moveMessage() and alike (there are six of them)
- removeMessage()and alike (there are four of them)
- retryMessage() and alike (there are two of them)
- sendMessage() and alike (there are four of them)
Environment
- Red Hat AMQ
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.