You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2022/01/02 06:21:00 UTC

[jira] [Created] (KARAF-7312) Use ObjectInputFilter on the JMX connector

Jean-Baptiste Onofré created KARAF-7312:
-------------------------------------------

             Summary: Use ObjectInputFilter on the JMX connector
                 Key: KARAF-7312
                 URL: https://issues.apache.org/jira/browse/KARAF-7312
             Project: Karaf
          Issue Type: Improvement
          Components: karaf
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré


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/jd]k.management.agent/share/classes/sun/management/jmxremote/ConnectorBootstrap.java#L525



--
This message was sent by Atlassian Jira
(v8.20.1#820001)