@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingBean(name = ThrottledSubmissionHandlerInterceptor.BEAN_NAME)
        @Bean
        public ThrottledSubmissionHandlerInterceptor authenticationThrottle(
            final CasConfigurationProperties casProperties,
            @Qualifier("authenticationThrottlingConfigurationContext")
            final ThrottledSubmissionHandlerConfigurationContext authenticationThrottlingConfigurationContext) {
            val throttle = casProperties.getAuthn().getThrottle();
            if (throttle.getFailure().getRangeSeconds() <= 0 && throttle.getFailure().getThreshold() <= 0) {
                LOGGER.trace("Authentication throttling is disabled since no range-seconds or failure-threshold is defined");
                return ThrottledSubmissionHandlerInterceptor.noOp();
            }
            LOGGER.trace("Activating authentication throttling...");
            return new DefaultThrottledSubmissionHandlerInterceptorAdapter(authenticationThrottlingConfigurationContext);
        }
This is {@link CasThrottlingAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-throttle/src/main/java/org/apereo/cas/config/CasThrottlingAutoConfiguration.java