public class EhCacheBasedX509UserCache extends Object implements X509UserCache, org.springframework.beans.factory.InitializingBean
User
objects using a Spring IoC defined EHCACHE.Constructor and Description |
---|
EhCacheBasedX509UserCache() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
UserDetails |
getUserFromCache(X509Certificate userCert) |
void |
putUserInCache(X509Certificate userCert,
UserDetails user) |
void |
removeUserFromCache(X509Certificate userCert) |
void |
setCache(net.sf.ehcache.Ehcache cache) |
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public UserDetails getUserFromCache(X509Certificate userCert)
getUserFromCache
in interface X509UserCache
public void putUserInCache(X509Certificate userCert, UserDetails user)
putUserInCache
in interface X509UserCache
public void removeUserFromCache(X509Certificate userCert)
removeUserFromCache
in interface X509UserCache
public void setCache(net.sf.ehcache.Ehcache cache)
Copyright © 2016. All rights reserved.