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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.org.springframework.security.core.userdetails.UserDetailsgetUserFromCache(X509Certificate userCert) Deprecated.voidputUserInCache(X509Certificate userCert, org.springframework.security.core.userdetails.UserDetails user) Deprecated.voidremoveUserFromCache(X509Certificate userCert) Deprecated.voidsetCache(net.sf.ehcache.Ehcache cache) Deprecated.
-
Constructor Details
-
EhCacheBasedX509UserCache
public EhCacheBasedX509UserCache()Deprecated.
-
-
Method Details
-
afterPropertiesSet
Deprecated.- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getUserFromCache
public org.springframework.security.core.userdetails.UserDetails getUserFromCache(X509Certificate userCert) Deprecated.- Specified by:
getUserFromCachein interfaceX509UserCache
-
putUserInCache
public void putUserInCache(X509Certificate userCert, org.springframework.security.core.userdetails.UserDetails user) Deprecated.- Specified by:
putUserInCachein interfaceX509UserCache
-
removeUserFromCache
Deprecated.- Specified by:
removeUserFromCachein interfaceX509UserCache
-
setCache
public void setCache(net.sf.ehcache.Ehcache cache) Deprecated.
-
SpringBasedX509UserCacheand inject a platform neutral Spring-basedCache.