Interface AuthenticationCache
-
- All Known Implementing Classes:
GuavaAuthenticationCache
public interface AuthenticationCache
Cache forAuthentication
objects.- Author:
- avasquez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Authentication
getAuthentication(String ticket)
Returns the cached authentication for the given ticket.void
putAuthentication(Authentication authentication)
Puts the specified authentication in the cache.void
removeAuthentication(String ticket)
Removes the authentication associated to the given ticket from the cache.
-
-
-
Method Detail
-
getAuthentication
Authentication getAuthentication(String ticket)
Returns the cached authentication for the given ticket.
-
putAuthentication
void putAuthentication(Authentication authentication)
Puts the specified authentication in the cache.
-
removeAuthentication
void removeAuthentication(String ticket)
Removes the authentication associated to the given ticket from the cache.
-
-