JEP 411: Documentation on the new way to establish TLS connections
Alan Bateman
Alan.Bateman at oracle.com
Fri Jun 4 06:39:27 UTC 2021
On 04/06/2021 05:22, Peter Firmstone wrote:
> Could someone please advise the recommended way now to preserve the
> Subject in Executors to establish a TLS connection?
>
I think the primitive you are looking for is scope local variables. It's
still in the exploration phase but there is a draft JEP [1]. I'm quite
sure that if we did this 20 years ago then Subject.doAs and friends
would be different.
-Alan
[1] http://openjdk.java.net/jeps/8263012
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20210604/0a53b60e/attachment.htm>
More information about the security-dev
mailing list