@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public CasEventRepository casEventRepository(
        @Qualifier("redisEventTemplate")
        final CasRedisTemplate redisEventTemplate,
        @Qualifier("redisEventRepositoryFilter")
        final CasEventRepositoryFilter redisEventRepositoryFilter,
        final CasConfigurationProperties casProperties) {
        return new RedisCasEventRepository(redisEventRepositoryFilter, redisEventTemplate,
            casProperties.getEvents().getRedis().getScanCount());
    }
This is {@link CasRedisEventsAutoConfiguration}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-events-redis/src/main/java/org/apereo/cas/config/CasRedisEventsAutoConfiguration.java