-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 23
-
Component/s: core-svc
To prepare the platform for the removal of the Security Manager, the Java Management Extensions (JMX) "Subject Delegation" feature has been removed in this release.
The method `javax.management.remote.JMXConnector.getMBeanServerConnection(Subject delegationSubject)` will now throw `UnsupportedOperationException` if invoked with a non-null delegation subject. If a client application needs to perform operations as, or on behalf of, multiple identities, it will now need to make multiple calls to `JMXConnectorFactory.connect()` and to the `getMBeanServerConnection()` method on the returned `JMXConnector`.
See [Security](https://docs.oracle.com/en/java/javase/23/jmx/security.html#GUID-EFC2A37D-307F-4001-9D2F-6F0A2A3BC51D) in _Java Management Extensions Guide_ for more information.
The method `javax.management.remote.JMXConnector.getMBeanServerConnection(Subject delegationSubject)` will now throw `UnsupportedOperationException` if invoked with a non-null delegation subject. If a client application needs to perform operations as, or on behalf of, multiple identities, it will now need to make multiple calls to `JMXConnectorFactory.connect()` and to the `getMBeanServerConnection()` method on the returned `JMXConnector`.
See [Security](https://docs.oracle.com/en/java/javase/23/jmx/security.html#GUID-EFC2A37D-307F-4001-9D2F-6F0A2A3BC51D) in _Java Management Extensions Guide_ for more information.