SimpleSecurityContextProvider()
Construct a new SimpleSecurityContextProvider instance.
The security context will be retrieved on each call from the current thread.
SimpleSecurityContextProvider(@Nullable acc: AccessControlContext)
Construct a new SimpleSecurityContextProvider instance.
If the given control context is null, the security context will be retrieved on each call from the current thread.
acc - access control context (can be null)
See Also
AccessController#getContext()