Class EhCacheBasedX509UserCache
java.lang.Object
org.springframework.ws.soap.security.x509.cache.EhCacheBasedX509UserCache
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,X509UserCache
@Deprecated
public class EhCacheBasedX509UserCache
extends Object
implements X509UserCache, org.springframework.beans.factory.InitializingBean
Deprecated.
Caches
User
objects using a Spring IoC defined EHCACHE.
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
Deprecated.org.springframework.security.core.userdetails.UserDetails
getUserFromCache
(X509Certificate userCert) Deprecated.void
putUserInCache
(X509Certificate userCert, org.springframework.security.core.userdetails.UserDetails user) Deprecated.void
removeUserFromCache
(X509Certificate userCert) Deprecated.void
setCache
(net.sf.ehcache.Ehcache cache) Deprecated.
-
Constructor Details
-
EhCacheBasedX509UserCache
public EhCacheBasedX509UserCache()Deprecated.
-
-
Method Details
-
afterPropertiesSet
Deprecated.- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
getUserFromCache
public org.springframework.security.core.userdetails.UserDetails getUserFromCache(X509Certificate userCert) Deprecated.- Specified by:
getUserFromCache
in interfaceX509UserCache
-
putUserInCache
public void putUserInCache(X509Certificate userCert, org.springframework.security.core.userdetails.UserDetails user) Deprecated.- Specified by:
putUserInCache
in interfaceX509UserCache
-
removeUserFromCache
Deprecated.- Specified by:
removeUserFromCache
in interfaceX509UserCache
-
setCache
public void setCache(net.sf.ehcache.Ehcache cache) Deprecated.
-
SpringBasedX509UserCache
and inject a platform neutral Spring-basedCache
.