@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @Lazy(false)
        public Runnable throttleSubmissionCleaner(
            final ConfigurableApplicationContext applicationContext,
            @Qualifier(AuthenticationThrottlingExecutionPlan.BEAN_NAME)
            final AuthenticationThrottlingExecutionPlan plan) {
            return BeanSupplier.of(Runnable.class)
                .when(BeanCondition.on("cas.authn.throttle.schedule.enabled").isTrue()
                    .evenIfMissing().given(applicationContext.getEnvironment()))
                .supply(() -> new InMemoryThrottledSubmissionCleaner(plan))
                .otherwiseProxy()
                .get();
        }
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