@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingBean(name = "redisTicketRegistryCache")
        public Cache<String, Ticket> redisTicketRegistryCache(final CasConfigurationProperties casProperties) {
            val redis = casProperties.getTicket().getRegistry().getRedis();
            return Beans.newCache(redis.getCache(), new CachedTicketExpirationPolicy());
        }
This is {@link CasRedisTicketRegistryAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-redis-ticket-registry/src/main/java/org/apereo/cas/config/CasRedisTicketRegistryAutoConfiguration.java