|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.security.cas.authentication.NullStatelessTicketCache
public final class NullStatelessTicketCache
Implementation of @link StatelessTicketCache that has no backing cache. Useful
in instances where storing of tickets for stateless session management is not required.
This is the default StatelessTicketCache of the @link CasAuthenticationProvider to
eliminate the unnecessary dependency on EhCache that applications have even if they are not using
the stateless session management.
CasAuthenticationProvider| Constructor Summary | |
|---|---|
NullStatelessTicketCache()
|
|
| Method Summary | |
|---|---|
CasAuthenticationToken |
getByTicketId(String serviceTicket)
Retrieves the CasAuthenticationToken associated with the
specified ticket. |
void |
putTicketInCache(CasAuthenticationToken token)
This is a no-op since we are not storing tickets. |
void |
removeTicketFromCache(CasAuthenticationToken token)
This is a no-op since we are not storing tickets. |
void |
removeTicketFromCache(String serviceTicket)
This is a no-op since we are not storing tickets. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullStatelessTicketCache()
| Method Detail |
|---|
public CasAuthenticationToken getByTicketId(String serviceTicket)
StatelessTicketCacheCasAuthenticationToken associated with the
specified ticket.
If not found, returns a
nullCasAuthenticationToken.
getByTicketId in interface StatelessTicketCachepublic void putTicketInCache(CasAuthenticationToken token)
putTicketInCache in interface StatelessTicketCachetoken - to be added to the cachepublic void removeTicketFromCache(CasAuthenticationToken token)
removeTicketFromCache in interface StatelessTicketCachetoken - to be removedpublic void removeTicketFromCache(String serviceTicket)
removeTicketFromCache in interface StatelessTicketCacheserviceTicket - to be removed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||