mirror of
https://github.com/apache/activemq.git
synced 2025-02-13 13:36:07 +00:00
AMQ-9201 - Update Jolokia default access configuration
(cherry picked from commit 6120169e563b55323352431dfe9ac67a8b4de6c2)
This commit is contained in:
parent
5e12551a4a
commit
bf65929fdc
@ -22,8 +22,35 @@
|
|||||||
<strict-checking/>
|
<strict-checking/>
|
||||||
</cors>
|
</cors>
|
||||||
|
|
||||||
<!-- deny calling operations or getting attributes from these mbeans -->
|
<!-- By default don't allow write or exec operations -->
|
||||||
|
<commands>
|
||||||
|
<command>read</command>
|
||||||
|
<command>list</command>
|
||||||
|
<command>version</command>
|
||||||
|
<command>search</command>
|
||||||
|
</commands>
|
||||||
|
|
||||||
|
<allow>
|
||||||
|
<!-- Allow all operations for the broker itself -->
|
||||||
|
<mbean>
|
||||||
|
<name>org.apache.activemq:*</name>
|
||||||
|
<attribute>*</attribute>
|
||||||
|
<operation>*</operation>
|
||||||
|
</mbean>
|
||||||
|
<!-- Allow all operations for Jolokia Config -->
|
||||||
|
<mbean>
|
||||||
|
<name>jolokia:type=Config</name>
|
||||||
|
<operation>*</operation>
|
||||||
|
</mbean>
|
||||||
|
</allow>
|
||||||
|
|
||||||
|
<!-- deny all operations or getting attributes from these mbeans -->
|
||||||
<deny>
|
<deny>
|
||||||
|
<mbean>
|
||||||
|
<name>org.apache.logging.log4j2:*</name>
|
||||||
|
<attribute>*</attribute>
|
||||||
|
<operation>*</operation>
|
||||||
|
</mbean>
|
||||||
<mbean>
|
<mbean>
|
||||||
<name>com.sun.management:type=DiagnosticCommand</name>
|
<name>com.sun.management:type=DiagnosticCommand</name>
|
||||||
<attribute>*</attribute>
|
<attribute>*</attribute>
|
||||||
@ -34,6 +61,11 @@
|
|||||||
<attribute>*</attribute>
|
<attribute>*</attribute>
|
||||||
<operation>*</operation>
|
<operation>*</operation>
|
||||||
</mbean>
|
</mbean>
|
||||||
|
<mbean>
|
||||||
|
<name>jdk.management.jfr:type=FlightRecorder</name>
|
||||||
|
<attribute>*</attribute>
|
||||||
|
<operation>*</operation>
|
||||||
|
</mbean>
|
||||||
</deny>
|
</deny>
|
||||||
|
|
||||||
</restrict>
|
</restrict>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user