| java.lang.Object | |
| ↳ | org.springframework.security.cas.authentication.EhCacheBasedTicketCache |
Caches tickets using a Spring IoC defined EHCACHE.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the
CasAuthenticationToken associated with the
specified ticket. | |||||||||||
Adds the specified
CasAuthenticationToken to the cache. | |||||||||||
Removes the specified ticket from the cache, as per
removeTicketFromCache(String). | |||||||||||
Removes the specified ticket from the cache, meaning that future calls
will require a new service ticket.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.InitializingBean
| |||||||||||
From interface
org.springframework.security.cas.authentication.StatelessTicketCache
| |||||||||||
Retrieves the CasAuthenticationToken associated with the
specified ticket.
If not found, returns a
nullCasAuthenticationToken.
Adds the specified CasAuthenticationToken to the cache.
The getCredentials() method is used to
retrieve the service ticket number.
| token | to be added to the cache |
|---|
Removes the specified ticket from the cache, as per removeTicketFromCache(String).
Implementations should use getCredentials() to obtain the ticket and then
delegate to to the removeTicketFromCache(String) method.
| token | to be removed |
|---|
Removes the specified ticket from the cache, meaning that future calls will require a new service ticket.
This is in case applications wish to provide a session termination capability for their stateless clients.
| serviceTicket | to be removed |
|---|