Interface X509UserCache
- All Known Implementing Classes:
EhCacheBasedX509UserCache
,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.
- Author:
- Luke Taylor
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetails
getUserFromCache
(X509Certificate userCertificate) void
putUserInCache
(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
-