spring-framework / org.springframework.beans.factory.support / SimpleSecurityContextProvider

SimpleSecurityContextProvider

open class SimpleSecurityContextProvider : SecurityContextProvider

Simple SecurityContextProvider implementation.

Author
Costin Leau

Since
3.0

Constructors

<init>

SimpleSecurityContextProvider()

Construct a new SimpleSecurityContextProvider instance.

The security context will be retrieved on each call from the current thread.

SimpleSecurityContextProvider(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.

Functions

getAccessControlContext

open fun getAccessControlContext(): AccessControlContext