spring-framework / org.springframework.beans.factory.support / SimpleSecurityContextProvider / <init>

<init>

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.

Parameters

acc - access control context (can be null)

See Also
AccessController#getContext()