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 22
22
<strict-checking />
23
23
</cors >
24
24
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 -->
26
48
<deny >
49
+ <mbean >
50
+ <name >org.apache.logging.log4j2:*</name >
51
+ <attribute >*</attribute >
52
+ <operation >*</operation >
53
+ </mbean >
27
54
<mbean >
28
55
<name >com.sun.management:type=DiagnosticCommand</name >
29
56
<attribute >*</attribute >
34
61
<attribute >*</attribute >
35
62
<operation >*</operation >
36
63
</mbean >
64
+ <mbean >
65
+ <name >jdk.management.jfr:type=FlightRecorder</name >
66
+ <attribute >*</attribute >
67
+ <operation >*</operation >
68
+ </mbean >
37
69
</deny >
38
70
39
71
</restrict >
You can’t perform that action at this time.
0 commit comments