public class EhCacheAuthenticationCache extends Object implements AuthenticationCache
AuthenticationCache that uses an EhCache.| Modifier and Type | Field and Description |
|---|---|
protected net.sf.ehcache.Cache |
cache |
| Constructor and Description |
|---|
EhCacheAuthenticationCache() |
| Modifier and Type | Method and 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.
|
void |
setCache(net.sf.ehcache.Cache cache) |
public void setCache(net.sf.ehcache.Cache cache)
public Authentication getAuthentication(String ticket)
AuthenticationCachegetAuthentication in interface AuthenticationCachepublic void putAuthentication(Authentication authentication)
AuthenticationCacheputAuthentication in interface AuthenticationCachepublic void removeAuthentication(String ticket)
AuthenticationCacheremoveAuthentication in interface AuthenticationCacheCopyright © 2023 CrafterCMS. All rights reserved.