@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "jdbcAuthenticationThrottle")
    public ThrottledSubmissionHandlerInterceptor authenticationThrottle(
        final ConfigurableApplicationContext applicationContext,
        @Qualifier("inspektrThrottleJdbcTemplate")
        final JdbcOperations inspektrThrottleJdbcTemplate,
        @Qualifier("authenticationThrottlingConfigurationContext")
        final ThrottledSubmissionHandlerConfigurationContext ctx) {
        return BeanSupplier.of(ThrottledSubmissionHandlerInterceptor.class)
            .when(CONDITION.given(applicationContext.getEnvironment()))
            .supply(() -> new JdbcThrottledSubmissionHandlerInterceptorAdapter(ctx, inspektrThrottleJdbcTemplate))
            .otherwise(ThrottledSubmissionHandlerInterceptor::noOp)
            .get();
    }
This is {@link CasJdbcThrottlingAutoConfiguration}.

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