@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @Bean
    @ConditionalOnMissingBean(name = "inspektrThrottleJdbcTemplate")
    public JdbcOperations inspektrThrottleJdbcTemplate(
        @Qualifier("inspektrThrottleDataSource")
        final DataSource inspektrThrottleDataSource,
        final ConfigurableApplicationContext applicationContext,
        final CasConfigurationProperties casProperties) {
        return BeanSupplier.of(JdbcOperations.class)
            .when(CONDITION.given(applicationContext.getEnvironment()))
            .supply(() -> new JdbcTemplate(inspektrThrottleDataSource))
            .otherwiseProxy()
            .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