@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "ldapThrottledSubmissionConnectionFactory")
    public ConnectionFactory ldapThrottledSubmissionConnectionFactory(
        final CasConfigurationProperties casProperties) {
        val ldap = casProperties.getAuthn().getThrottle().getLdap();
        return LdapUtils.newLdaptiveConnectionFactory(ldap);
    }
This is {@link CasLdapThrottlingAutoConfiguration}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-throttle-ldap/src/main/java/org/apereo/cas/config/CasLdapThrottlingAutoConfiguration.java