Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8304327

JMX Guide: Document the deprecation of Subject Delegation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 21
    • None
    • docs
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              kevinw Kevin Walls
              kevinw Kevin Walls
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: