public class

SimpleSecurityContextProvider

extends Object
implements SecurityContextProvider
java.lang.Object
   ↳ org.springframework.beans.factory.support.SimpleSecurityContextProvider

Class Overview

Simple SecurityContextProvider implementation.

Summary

Public Constructors
SimpleSecurityContextProvider()
Construct a new SimpleSecurityContextProvider instance.
SimpleSecurityContextProvider(AccessControlContext acc)
Construct a new SimpleSecurityContextProvider instance.
Public Methods
AccessControlContext getAccessControlContext()
Provides a security access control context relevant to a bean factory.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.beans.factory.support.SecurityContextProvider

Public Constructors

public SimpleSecurityContextProvider ()

Also: SpringBeans

Construct a new SimpleSecurityContextProvider instance.

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

public SimpleSecurityContextProvider (AccessControlContext acc)

Also: SpringBeans

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

Public Methods

public AccessControlContext getAccessControlContext ()

Also: SpringBeans

Provides a security access control context relevant to a bean factory.

Returns
  • bean factory security control context