Interface X509UserCache
- All Known Implementing Classes:
NullX509UserCache,SpringBasedX509UserCache
public interface X509UserCache
Provides a cache of
UserDetails objects for the
X509AuthenticationProvider.
Similar in function to the
UserCache used by the Dao
provider, but the cache is keyed with the user's certificate rather than the user name.
Migrated from Spring Security 2 since it has been removed in Spring Security 3.
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetailsgetUserFromCache(X509Certificate userCertificate) voidputUserInCache(X509Certificate key, org.springframework.security.core.userdetails.UserDetails user) void
-
Method Details
-
getUserFromCache
org.springframework.security.core.userdetails.UserDetails getUserFromCache(X509Certificate userCertificate) -
putUserInCache
void putUserInCache(X509Certificate key, org.springframework.security.core.userdetails.UserDetails user) -
removeUserFromCache
-