activemq.server0.management.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!-- ~ Licensed to the Apache Software Foundation (ASF) under one or more ~ contributor license agreements. See the NOTICE file distributed with ~ this work for additional information regarding copyright ownership. ~ The ASF licenses this file to You under the Apache License, Version 2.0 ~ (the "License"); you may not use this file except in compliance with ~ the License. You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <management-context xmlns="http://activemq.apache.org/schema"> <connector connector-port="1099" connector-host="localhost"/> <authorisation> <allowlist> <entry domain="hawtio"/> </allowlist> <default-access> <access method="list*" roles="view,update,amq,guest"/> <access method="get*" roles="view,update,amq,guest"/> <access method="is*" roles="view,update,amq,guest"/> <access method="set*" roles="update,amq,guest"/> <access method="*" roles="amq,guest"/> </default-access> <role-access> <match domain="org.apache.activemq.artemis"> <access method="list*" roles="view,update,amq,guest"/> <access method="get*" roles="view,update,amq,guest"/> <access method="is*" roles="view,update,amq,guest"/> <access method="set*" roles="update,amq,guest"/> <access method="*" roles="amq,guest"/> </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> </authorisation> </management-context>