We need to add a warning that Subject Delegation in JDK 21 is deprecated for removal.
https://bugs.openjdk.org/browse/JDK-8298966
22 Security with Subject Delegation
https://docs.oracle.com/en/java/javase/19/jmx/security-subject-delegation-example.html
There should be a warning box, like we already have in chapter 23 for the Security Manager usage. It could use some of the text from the release note. e.g.
WARNING: The Subject Delegation feature is deprecated and subject to removal in a future release. It is dependent on other APIs which are deprecated for removal in JEP411. If a client application needs to perform operations as or on behalf of multiple identities, it will need to make multiple calls to JMXConnectorFactory.connect() and to the getMBeanServerConnection() method on the returned JMXConnector.