|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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)
StatelessTicketCache
CasAuthenticationToken
associated with the
specified ticket.
If not found, returns a
null
CasAuthenticationToken
.
getByTicketId
in interface StatelessTicketCache
public void putTicketInCache(CasAuthenticationToken token)
putTicketInCache
in interface StatelessTicketCache
token
- to be added to the cachepublic void removeTicketFromCache(CasAuthenticationToken token)
removeTicketFromCache
in interface StatelessTicketCache
token
- to be removedpublic void removeTicketFromCache(String serviceTicket)
removeTicketFromCache
in interface StatelessTicketCache
serviceTicket
- to be removed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |