egovframework.rfc3.iam.security.authentication
Class EhCacheBasedTicketCache
java.lang.Object
egovframework.rfc3.iam.security.authentication.EhCacheBasedTicketCache
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.security.cas.authentication.StatelessTicketCache
public class EhCacheBasedTicketCache
- extends java.lang.Object
- implements org.springframework.security.cas.authentication.StatelessTicketCache, org.springframework.beans.factory.InitializingBean
Caches tickets using a Spring IoC defined EHCACHE.
- Author:
- Ben Alex
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EhCacheBasedTicketCache
public EhCacheBasedTicketCache()
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
getByTicketId
public org.springframework.security.cas.authentication.CasAuthenticationToken getByTicketId(java.lang.String serviceTicket)
- Specified by:
getByTicketId
in interface org.springframework.security.cas.authentication.StatelessTicketCache
getCache
public net.sf.ehcache.Ehcache getCache()
putTicketInCache
public void putTicketInCache(org.springframework.security.cas.authentication.CasAuthenticationToken token)
- Specified by:
putTicketInCache
in interface org.springframework.security.cas.authentication.StatelessTicketCache
removeTicketFromCache
public void removeTicketFromCache(org.springframework.security.cas.authentication.CasAuthenticationToken token)
- Specified by:
removeTicketFromCache
in interface org.springframework.security.cas.authentication.StatelessTicketCache
removeTicketFromCache
public void removeTicketFromCache(java.lang.String serviceTicket)
- Specified by:
removeTicketFromCache
in interface org.springframework.security.cas.authentication.StatelessTicketCache
setCache
public void setCache(net.sf.ehcache.Ehcache cache)