Details
Description
We should configure an ObjectInputFilter for the JMX service.
This can be done by setting a suitable filter configuration for the jmx.remote.rmi.server.credentials.filter.pattern key that can be specified within the environment variables when creating a new JMX server instance.
For Karaf, it should be done in the connector factory.
An example can be found here: https://github.com/openjdk/jdk/blob/master/src/jdk.management.agent/share/classes/sun/management/jmxremote/ConnectorBootstrap.java#L525