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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidorg.springframework.security.core.userdetails.UserDetailsgetUserFromCache(X509Certificate userCert) voidputUserInCache(X509Certificate userCert, org.springframework.security.core.userdetails.UserDetails user) voidremoveUserFromCache(X509Certificate userCert) voidsetCache(org.springframework.cache.Cache cache) 
- 
Constructor Details- 
SpringBasedX509UserCachepublic SpringBasedX509UserCache()
 
- 
- 
Method Details- 
afterPropertiesSet- Specified by:
- afterPropertiesSetin interface- org.springframework.beans.factory.InitializingBean
- Throws:
- Exception
 
- 
getUserFromCachepublic org.springframework.security.core.userdetails.UserDetails getUserFromCache(X509Certificate userCert) - Specified by:
- getUserFromCachein interface- X509UserCache
 
- 
putUserInCachepublic void putUserInCache(X509Certificate userCert, org.springframework.security.core.userdetails.UserDetails user) - Specified by:
- putUserInCachein interface- X509UserCache
 
- 
removeUserFromCache- Specified by:
- removeUserFromCachein interface- X509UserCache
 
- 
setCachepublic void setCache(org.springframework.cache.Cache cache) 
 
-