RFR: 8333344: JMX attaching of Subject does not work when security manager not allowed [v14]
Kevin Walls
kevinw at openjdk.org
Mon Jun 17 09:36:33 UTC 2024
> JMX uses APIs related to the Security Mananger which are deprecated. Use of AccessControlContext will be removed when Security Manager is removed.
>
> Until then, updates are needed to not require setting -Djava.security.manager=allow to use JMX authentication.
Kevin Walls has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 19 additional commits since the last revision:
- Merge remote-tracking branch 'upstream/master' into 8333344_JMX_Subject
- Monitor: do not call doAs with an explicityly null Subject
- Unnecessary catches to remove
- Monitor update
- ServerNotifForwarder simplification
- Separate SM allowed and not allowed cases
- ServerNotifForwarder getSubject update
- Exception handling per Daniel comment
- Annotation in checkAccess
- Undo test policy updates
- ... and 9 more: https://git.openjdk.org/jdk/compare/c0b2e87b...ee2dd12e
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/19624/files
- new: https://git.openjdk.org/jdk/pull/19624/files/13d9202f..ee2dd12e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=19624&range=13
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=19624&range=12-13
Stats: 15038 lines in 603 files changed: 6231 ins; 7274 del; 1533 mod
Patch: https://git.openjdk.org/jdk/pull/19624.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19624/head:pull/19624
PR: https://git.openjdk.org/jdk/pull/19624
More information about the core-libs-dev
mailing list