Zionetrix::Git
Repositories
Help
Report an Issue
cas-common-config
Code
Commits
Branches
Tags
Search
Tree:
0902617
Branches
Tags
master
cas-common-config
custom
webpages
WEB-INF
spring-configuration
ticketRegistry.xml
Add memcache ticketRegistry service
Benjamin Renard
commited
0902617
at 2014-12-29 18:06:35
ticketRegistry.xml
Blame
History
Raw
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> <description> Configuration for the default TicketRegistry which stores the tickets in-memory and cleans them out as specified intervals. </description> <!-- Ticket Registry --> <!-- <bean id="ticketRegistry" class="org.jasig.cas.ticket.registry.DefaultTicketRegistry" /> --> <bean id="ticketRegistry" class="org.jasig.cas.ticket.registry.MemCacheTicketRegistry"> <constructor-arg index="0"> <list> <value>${memcache.server}:${memcache.port}</value> </list> </constructor-arg> <constructor-arg index="1" type="int" value="${memcache.TGT.timeout}" /> <constructor-arg index="2" type="int" value="${memcache.ST.timeout}" /> </bean> </beans>