RFR: 8267108: Alternate Subject.getSubject and doAs APIs that do not depend on Security Manager APIs [v3]
Sean Mullan
mullan at openjdk.java.net
Thu Oct 28 13:46:20 UTC 2021
On Mon, 25 Oct 2021 19:55:44 GMT, Bernd <duke at openjdk.java.net> wrote:
>> I just don't want to touch existing spec. Even for `doAs`, I only said "callAs is based on doAs by default" and didn't went out explaining what is NOT by default. Is that OK?
>
> Yes good reason not to change it.
Suggest using similar wording as in `getSubject`: "However, performing work as a Subject is useful independent of the Security Manager. Thus, a replacement API named {@link #callAs()} has been added which can be used to perform the same work."
-------------
PR: https://git.openjdk.java.net/jdk/pull/5024
More information about the security-dev
mailing list