Configuring JMX remote access to specific MBeans
I would like to allow remote access to some, but not all MBeans. The tc server JMX configuration example shows using a jmxremote.access file. This only allows specifying read and readwrite permissions to all MBeans. I need to allow readwrite access to a specific MBean only. Typically this is done by running with a security manager and a security principal configuration. For example:
grant principal javax.management.remote.JMXPrincipal "someRole" {
permission javax.management.MBeanPermission
"<MBean classname>#<MBean method>","invoke";
};
Are there any examples of configuring tc server to support this?