Class NullStatelessTicketCache
java.lang.Object
org.springframework.security.cas.authentication.NullStatelessTicketCache
- All Implemented Interfaces:
 StatelessTicketCache
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.
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetByTicketId(String serviceTicket) Retrieves theCasAuthenticationTokenassociated with the specified ticket.voidThis is a no-op since we are not storing tickets.voidremoveTicketFromCache(String serviceTicket) This is a no-op since we are not storing tickets.voidThis is a no-op since we are not storing tickets. 
- 
Constructor Details
- 
NullStatelessTicketCache
public NullStatelessTicketCache() 
 - 
 - 
Method Details
- 
getByTicketId
Description copied from interface:StatelessTicketCacheRetrieves theCasAuthenticationTokenassociated with the specified ticket.If not found, returns a
nullCasAuthenticationToken.- Specified by:
 getByTicketIdin interfaceStatelessTicketCache- Returns:
 - null since we are not storing any tickets.
 
 - 
putTicketInCache
This is a no-op since we are not storing tickets.- Specified by:
 putTicketInCachein interfaceStatelessTicketCache- Parameters:
 token- to be added to the cache
 - 
removeTicketFromCache
This is a no-op since we are not storing tickets.- Specified by:
 removeTicketFromCachein interfaceStatelessTicketCache- Parameters:
 token- to be removed
 - 
removeTicketFromCache
This is a no-op since we are not storing tickets.- Specified by:
 removeTicketFromCachein interfaceStatelessTicketCache- Parameters:
 serviceTicket- to be removed
 
 -