@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public ThrottledSubmissionHandlerInterceptor authenticationThrottle(
        final ConfigurableApplicationContext applicationContext,
        @Qualifier("throttleRedisTemplate")
        final CasRedisTemplate throttleRedisTemplate,
        @Qualifier("authenticationThrottlingConfigurationContext")
        final ThrottledSubmissionHandlerConfigurationContext authenticationThrottlingConfigurationContext,
        final CasConfigurationProperties casProperties) {
        return BeanSupplier.of(ThrottledSubmissionHandlerInterceptor.class)
            .when(CONDITION.given(applicationContext.getEnvironment()))
            .supply(() -> new RedisThrottledSubmissionHandlerInterceptorAdapter(authenticationThrottlingConfigurationContext,
                throttleRedisTemplate,
                casProperties.getAudit().getRedis().getScanCount()))
            .otherwise(ThrottledSubmissionHandlerInterceptor::noOp)
            .get();
    }
This is {@link CasRedisThrottlingAutoConfiguration}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-throttle-redis/src/main/java/org/apereo/cas/config/CasRedisThrottlingAutoConfiguration.java