RFR: 8296244: Alternate implementation of user-based authorization Subject APIs that doesn’t depend on Security Manager APIs [v6]
Weijun Wang
weijun at openjdk.org
Thu Mar 14 18:10:42 UTC 2024
On Wed, 13 Mar 2024 19:53:40 GMT, Sean Mullan <mullan at openjdk.org> wrote:
>> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> revert changes to MBeanServerFileAccessController.java
>
> test/jdk/javax/security/auth/Subject/CallAsWithScopedValue.java line 29:
>
>> 27: * @enablePreview
>> 28: * @summary Implement Subject.current and Subject.callAs using scoped values.
>> 29: * Need @enablePreview to use StructuredTaskScope.
>
> jtreg throws a `ParseException` because I think it tries to interpret it as an `@enablePreview` action. Suggest enclosing it in double quotes.
Yes, I noticed that. Thanks.
> test/jdk/javax/security/auth/Subject/CallAsWithScopedValue.java line 55:
>
>> 53: Subject.callAs(subject, () -> check(0, Subject.current(), "Duke"));
>> 54:
>> 55: // Observable in the same thread in ACC mode, but not in the SV mode
>
> Should this comment actually say "Observable in a new platform thread in ACC mode, but not in the SV mode".
Yes.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17472#discussion_r1525308150
PR Review Comment: https://git.openjdk.org/jdk/pull/17472#discussion_r1525308836
More information about the serviceability-dev
mailing list