@Bean
        @ConditionalOnMissingBean(name = "proxyValidateControllerValidationSpecification")
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public CasProtocolValidationSpecification proxyValidateControllerValidationSpecification(
            @Qualifier(TenantExtractor.BEAN_NAME)
            final TenantExtractor tenantExtractor,
            @Qualifier("casAlwaysSatisfiedProtocolValidationSpecification")
            final CasProtocolValidationSpecification casAlwaysSatisfiedProtocolValidationSpecification) {
            val validationChain = new ChainingCasProtocolValidationSpecification();
            validationChain.addSpecification(casAlwaysSatisfiedProtocolValidationSpecification);
            validationChain.addSpecification(new CasProtocolVersionValidationSpecification(Set.of(CasProtocolVersions.CAS20), tenantExtractor));
            return validationChain;
        }
This is {@link CasValidationAutoConfiguration}.

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