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