Class SpringBasedX509UserCache
java.lang.Object
org.springframework.ws.soap.security.x509.cache.SpringBasedX509UserCache
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,X509UserCache
public class SpringBasedX509UserCache
extends Object
implements X509UserCache, org.springframework.beans.factory.InitializingBean
Caches
User
objects using a Spring Framework-based Cache
.
Migrated from Spring Security 2 since it has been removed in Spring Security 3.
- Author:
- Luke Taylor, Ben Alex, Greg Turnquist
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
org.springframework.security.core.userdetails.UserDetails
getUserFromCache
(X509Certificate userCert) void
putUserInCache
(X509Certificate userCert, org.springframework.security.core.userdetails.UserDetails user) void
removeUserFromCache
(X509Certificate userCert) void
setCache
(org.springframework.cache.Cache cache)
-
Constructor Details
-
SpringBasedX509UserCache
public SpringBasedX509UserCache()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
getUserFromCache
public org.springframework.security.core.userdetails.UserDetails getUserFromCache(X509Certificate userCert) - Specified by:
getUserFromCache
in interfaceX509UserCache
-
putUserInCache
public void putUserInCache(X509Certificate userCert, org.springframework.security.core.userdetails.UserDetails user) - Specified by:
putUserInCache
in interfaceX509UserCache
-
removeUserFromCache
- Specified by:
removeUserFromCache
in interfaceX509UserCache
-
setCache
public void setCache(org.springframework.cache.Cache cache)
-