@Bean
        @ConditionalOnMissingBean(name = "corsFilter")
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public CorsFilter corsFilter(
                final CasConfigurationProperties casProperties,
                @Qualifier("corsHttpWebRequestConfigurationSource") final CorsConfigurationSource corsHttpWebRequestConfigurationSource) {
            return new CorsFilter(corsHttpWebRequestConfigurationSource);
        }
This is {@link CasFiltersConfiguration} that attempts to create Spring-managed beans
backed by external configuration.

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