@Bean
        @ConditionalOnMissingBean(name = "casWebSecurityConfigurerAdapter")
        public SecurityFilterChain casWebSecurityConfigurerAdapter(
            final ConfigurableApplicationContext applicationContext,
            @Qualifier("securityContextRepository")
            final SecurityContextRepository securityContextRepository,
            final HttpSecurity http,
            final ObjectProvider<PathMappedEndpoints> pathMappedEndpoints,
            final List<CasWebSecurityConfigurer> configurersList,
            final WebEndpointProperties webEndpointProperties,
            final ManagementServerProperties managementServerProperties,
            final SecurityProperties securityProperties,
            final CasConfigurationProperties casProperties,
            final WebProperties webProperties) throws Exception {
            val adapter = new CasWebSecurityConfigurerAdapter(casProperties,
                webEndpointProperties, managementServerProperties,
                pathMappedEndpoints, configurersList, securityContextRepository, webProperties);
            return adapter.configureHttpSecurity(http, applicationContext).build();
        }
This is {@link CasWebSecurityConfiguration}.

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