RFR: 8326666: Remove the Java Management Extension (JMX) Subject Delegation feature [v7]

Mandy Chung mchung at openjdk.org
Mon Mar 11 19:27:13 UTC 2024


On Mon, 11 Mar 2024 18:49:43 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> I was wondering if we should add a note at the class-level API documentation to say that subject delegation has been removed (or is no longer supported), and that methods will throw UOE if a non-null delegation subject is passed. It is otherwise strange to see a parameter that must be null. It could be worthwhile to mention it just once, at the class-level API.
>
> Maybe mention there too that the delegationSubject parameter is kept for interoperability with older remote clients.

It's a good suggestion.   Something like this:

All methods that take a `Subject` parameter will throw UOE if called with a non-null subject delegation.  JMX subject delegation feature is no longer supported.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18025#discussion_r1520310935


More information about the serviceability-dev mailing list