SpringBasedX509UserCache and inject a platform neutral Spring-based Cache.@Deprecated public class EhCacheBasedX509UserCache extends Object implements X509UserCache, org.springframework.beans.factory.InitializingBean
User objects using a Spring IoC defined EHCACHE.
Migrated from Spring Security 2 since it has been removed in Spring Security 3.
| Constructor and Description |
|---|
EhCacheBasedX509UserCache()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
org.springframework.security.core.userdetails.UserDetails |
getUserFromCache(X509Certificate userCert)
Deprecated.
|
void |
putUserInCache(X509Certificate userCert,
org.springframework.security.core.userdetails.UserDetails user)
Deprecated.
|
void |
removeUserFromCache(X509Certificate userCert)
Deprecated.
|
void |
setCache(net.sf.ehcache.Ehcache cache)
Deprecated.
|
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic org.springframework.security.core.userdetails.UserDetails getUserFromCache(X509Certificate userCert)
getUserFromCache in interface X509UserCachepublic void putUserInCache(X509Certificate userCert, org.springframework.security.core.userdetails.UserDetails user)
putUserInCache in interface X509UserCachepublic void removeUserFromCache(X509Certificate userCert)
removeUserFromCache in interface X509UserCachepublic void setCache(net.sf.ehcache.Ehcache cache)
Copyright © 2020 Pivotal Software. All rights reserved.