File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed
assembly/src/release/conf Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change 2222 <strict-checking />
2323 </cors >
2424
25- <!-- deny calling operations or getting attributes from these mbeans -->
25+ <!-- By default don't allow write or exec operations -->
26+ <commands >
27+ <command >read</command >
28+ <command >list</command >
29+ <command >version</command >
30+ <command >search</command >
31+ </commands >
32+
33+ <allow >
34+ <!-- Allow all operations for the broker itself -->
35+ <mbean >
36+ <name >org.apache.activemq:*</name >
37+ <attribute >*</attribute >
38+ <operation >*</operation >
39+ </mbean >
40+ <!-- Allow all operations for Jolokia Config -->
41+ <mbean >
42+ <name >jolokia:type=Config</name >
43+ <operation >*</operation >
44+ </mbean >
45+ </allow >
46+
47+ <!-- deny all operations or getting attributes from these mbeans -->
2648 <deny >
49+ <mbean >
50+ <name >org.apache.logging.log4j2:*</name >
51+ <attribute >*</attribute >
52+ <operation >*</operation >
53+ </mbean >
2754 <mbean >
2855 <name >com.sun.management:type=DiagnosticCommand</name >
2956 <attribute >*</attribute >
3461 <attribute >*</attribute >
3562 <operation >*</operation >
3663 </mbean >
64+ <mbean >
65+ <name >jdk.management.jfr:type=FlightRecorder</name >
66+ <attribute >*</attribute >
67+ <operation >*</operation >
68+ </mbean >
3769 </deny >
3870
3971</restrict >
You can’t perform that action at this time.
0 commit comments