org.springframework.ws.soap.security.x509.cache
Class EhCacheBasedX509UserCache
java.lang.Object
org.springframework.ws.soap.security.x509.cache.EhCacheBasedX509UserCache
- All Implemented Interfaces:
- InitializingBean, X509UserCache
public class EhCacheBasedX509UserCache
- extends Object
- implements X509UserCache, InitializingBean
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EhCacheBasedX509UserCache
public EhCacheBasedX509UserCache()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Throws:
Exception
getUserFromCache
public org.springframework.security.core.userdetails.UserDetails getUserFromCache(X509Certificate userCert)
- Specified by:
getUserFromCache
in interface X509UserCache
putUserInCache
public void putUserInCache(X509Certificate userCert,
org.springframework.security.core.userdetails.UserDetails user)
- Specified by:
putUserInCache
in interface X509UserCache
removeUserFromCache
public void removeUserFromCache(X509Certificate userCert)
- Specified by:
removeUserFromCache
in interface X509UserCache
setCache
public void setCache(net.sf.ehcache.Ehcache cache)
Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.