<default-access>
<access method="list*" roles="amq,viewer"/>
<access method="get*" roles="amq,viewer"/>
<access method="is*" roles="amq,viewer"/>
<access method="browse*" roles="amq,viewer"/>
<access method="set*" roles="amq"/>
<access method="*" roles="amq"/>
</default-access>
<role-access>
<match domain="org.apache.activemq.artemis">
<access method="list*" roles="amq,viewer"/>
<access method="get*" roles="amq,viewer"/>
<access method="is*" roles="amq,viewer"/>
<access method="browse*" roles="amq,viewer"/>
<access method="set*" roles="amq"/>
<access method="*" roles="amq"/>
</match>
<!--example of how to configure a specific object-->
<!--<match domain="org.apache.activemq.artemis" key="subcomponent=queues">
<access method="list*" roles="view,update,amq"/>
<access method="get*" roles="view,update,amq"/>
<access method="is*" roles="view,update,amq"/>
<access method="set*" roles="update,amq"/>
<access method="*" roles="amq"/>
</match>-->
</role-access>