AccessController.getInheritedAccessControlContext, does it need to call through the VM
Sean Mullan
sean.mullan at oracle.com
Wed Sep 25 18:51:47 UTC 2019
On 9/20/19 12:29 PM, Alan Bateman wrote:
>
> Is there any reason for
> AccessController.getInheritedAccessControlContext to be a native method?
No, I don't believe so.
> I'm wondering if we can use the shared secrets mechanism to read the
> Thread.inheritedAccessControlContext field instead.
Yes, that should work.
--Sean
More information about the security-dev
mailing list