@Bean
        @ConditionalOnMissingBean(name = "casWebApplicationServiceFactoryConfigurer")
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public ServiceFactoryConfigurer casWebApplicationServiceFactoryConfigurer(
            @Qualifier(WebApplicationService.BEAN_NAME_FACTORY) final ServiceFactory<WebApplicationService> webApplicationServiceFactory) {
            return () -> CollectionUtils.wrap(webApplicationServiceFactory);
        }
This is {@link CasWebApplicationServiceFactoryConfiguration}.

@author Misagh Moayyed
@since 5.1.0
core/cas-server-core-services/src/main/java/org/apereo/cas/config/CasWebApplicationServiceFactoryConfiguration.java