JMX では、という名前のファイルでユーザーのアクセス権を設定できますjmxremote.access
(テンプレートは にあります<JAVA INSTALL>/jre/lib/management
)。そこでは、ユーザーが..
"readonly" grants access to read attributes of MBeans.
For monitoring, this means that a remote client in this
role can read measurements but cannot perform any action
that changes the environment of the running program.
また..
"readwrite" grants access to read and write attributes of MBeans,
to invoke operations on them, and optionally
to create or remove them. This access should be granted
only to trusted clients, since they can potentially
interfere with the smooth operation of a running program.
.. パーミッション。
ここで、JMC を介してフライト レコーダーのデータにアクセスするために使用する JXM ユーザーに対して、このアクセス制御機能を有効にしたいと思います。このユーザーには、デフォルトのセキュリティ標準に従って、必要最小限の権限を与えるという考えがあります。
--> ユーザーに許可を与えるだけで十分ですreadonly
か、それとも Java Flight Recorder もどこかに何かを書き込む必要がありますか?