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 SummaryConstructors
- 
Method SummaryModifier 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- 
EhCacheBasedX509UserCachepublic EhCacheBasedX509UserCache()Deprecated.
 
- 
- 
Method Details- 
afterPropertiesSetDeprecated.- Specified by:
- afterPropertiesSetin interface- org.springframework.beans.factory.InitializingBean
- Throws:
- Exception
 
- 
getUserFromCachepublic org.springframework.security.core.userdetails.UserDetails getUserFromCache(X509Certificate userCert) Deprecated.- Specified by:
- getUserFromCachein interface- X509UserCache
 
- 
putUserInCachepublic void putUserInCache(X509Certificate userCert, org.springframework.security.core.userdetails.UserDetails user) Deprecated.- Specified by:
- putUserInCachein interface- X509UserCache
 
- 
removeUserFromCacheDeprecated.- Specified by:
- removeUserFromCachein interface- X509UserCache
 
- 
setCachepublic void setCache(net.sf.ehcache.Ehcache cache) Deprecated.
 
- 
SpringBasedX509UserCacheand inject a platform neutral Spring-basedCache.