use of org.apereo.cas.ticket.registry.MemCacheTicketRegistry in project cas by apereo.
the class MemcachedTicketRegistryConfiguration method ticketRegistry.
@Autowired
@Bean
public TicketRegistry ticketRegistry(@Qualifier("memcachedClient") final MemcachedClientIF memcachedClientIF) {
final MemCacheTicketRegistry registry = new MemCacheTicketRegistry(memcachedClientIF);
registry.setCipherExecutor(Beans.newTicketRegistryCipherExecutor(casProperties.getTicket().getRegistry().getMemcached().getCrypto()));
return registry;
}
Aggregations