JDK-8327806 : Release Note: JMX Subject Delegation Has Been Removed
  • Type: Sub-task
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2024-03-11
  • Updated: 2024-08-03
  • Resolved: 2024-04-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 23
23Resolved
Description
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.