[ARTEMIS-1567] Inject role into management config
This commit is contained in:
parent
7514e91ed1
commit
d01844c128
|
@ -22,19 +22,19 @@
|
||||||
<entry domain="hawtio"/>
|
<entry domain="hawtio"/>
|
||||||
</whitelist>
|
</whitelist>
|
||||||
<default-access>
|
<default-access>
|
||||||
<access method="list*" roles="view,update,amq"/>
|
<access method="list*" roles="${role}"/>
|
||||||
<access method="get*" roles="view,update,amq"/>
|
<access method="get*" roles="${role}"/>
|
||||||
<access method="is*" roles="view,update,amq"/>
|
<access method="is*" roles="${role}"/>
|
||||||
<access method="set*" roles="update,amq"/>
|
<access method="set*" roles="${role}"/>
|
||||||
<access method="*" roles="amq"/>
|
<access method="*" roles="${role}"/>
|
||||||
</default-access>
|
</default-access>
|
||||||
<role-access>
|
<role-access>
|
||||||
<match domain="org.apache.activemq.artemis">
|
<match domain="org.apache.activemq.artemis">
|
||||||
<access method="list*" roles="view,update,amq"/>
|
<access method="list*" roles="${role}"/>
|
||||||
<access method="get*" roles="view,update,amq"/>
|
<access method="get*" roles="${role}"/>
|
||||||
<access method="is*" roles="view,update,amq"/>
|
<access method="is*" roles="${role}"/>
|
||||||
<access method="set*" roles="update,amq"/>
|
<access method="set*" roles="${role}"/>
|
||||||
<access method="*" roles="amq"/>
|
<access method="*" roles="${role}"/>
|
||||||
</match>
|
</match>
|
||||||
<!--example of how to configure a specific object-->
|
<!--example of how to configure a specific object-->
|
||||||
<!--<match domain="org.apache.activemq.artemis" key="subcomponent=queues">
|
<!--<match domain="org.apache.activemq.artemis" key="subcomponent=queues">
|
||||||
|
|
Loading…
Reference in New Issue