/* * Copyright 2009 The JA-SIG Collaborative. All rights reserved. See license * distributed with this file and available online at * http://www.uportal.org/license.html */ package org.jasig.cas.ticket.registry; import java.util.Collection; import net.sf.ehcache.Cache; import net.sf.ehcache.Element; import net.sf.ehcache.config.CacheConfiguration; import org.jasig.cas.ticket.ServiceTicket; import org.jasig.cas.ticket.Ticket; import org.jasig.cas.ticket.TicketGrantingTicket; import org.springframework.beans.BeanInstantiationException; import org.springframework.beans.factory.InitializingBean; import org.springframework.core.style.ToStringCreator; /** *

* EHCache based distributed ticket registry. *

*

* Use distinct caches for ticket granting tickets (TGT) and service tickets (ST) for: *