use of org.apereo.cas.ticket.registry.RedisTicketRegistry in project cas by apereo.
the class RedisTicketRegistryConfiguration method ticketRegistry.
@Bean
@RefreshScope
public TicketRegistry ticketRegistry() {
final RedisTicketRegistryProperties redis = casProperties.getTicket().getRegistry().getRedis();
final RedisTicketRegistry r = new RedisTicketRegistry(ticketRedisTemplate());
r.setCipherExecutor(Beans.newTicketRegistryCipherExecutor(redis.getCrypto()));
return r;
}
Aggregations