JMX Monitor should migrate to storing a Subject, not AccessControlContext

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-svc

      The JMX "Monitor" stores an AccessControlContext, which is deprecated for removal, so this needs to change.

      src/java.management/share/classes/javax/management/monitor/Monitor.java can store a Subject instead.

      The current Subject for Monitor execution is set when it is started.
       test/jdk/javax/management/monitor/ThreadPoolAccTest.java has checks on the Subject and Principal in a Monitor.

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

              Created:
              Updated:
              Resolved: