@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "redisEventConnectionFactory")
    public RedisConnectionFactory redisEventConnectionFactory(
        @Qualifier(CasSSLContext.BEAN_NAME)
        final CasSSLContext casSslContext,
        final CasConfigurationProperties casProperties) throws Exception {
        val redis = casProperties.getEvents().getRedis();
        return RedisObjectFactory.newRedisConnectionFactory(redis, casSslContext);
    }
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