@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @Scope(ConfigurableBeanFactory.SCOPE_PROTOTYPE)
        public ServiceValidateConfigurationContext casValidationConfigurationContext(
            @Qualifier("serviceValidationAuthorizers")
            final ServiceTicketValidationAuthorizersExecutionPlan serviceValidationAuthorizers,
            @Qualifier(ServicesManager.BEAN_NAME)
            final ServicesManager servicesManager,
            @Qualifier(ArgumentExtractor.BEAN_NAME)
            final ArgumentExtractor argumentExtractor,
            @Qualifier(CentralAuthenticationService.BEAN_NAME)
            final CentralAuthenticationService centralAuthenticationService,
            final CasConfigurationProperties casProperties,
            @Qualifier(TicketRegistry.BEAN_NAME)
            final TicketRegistry ticketRegistry,
            @Qualifier(AuthenticationSystemSupport.BEAN_NAME)
            final AuthenticationSystemSupport authenticationSystemSupport,
            @Qualifier("requestedContextValidator")
            final RequestedAuthenticationContextValidator requestedContextValidator,
            @Qualifier(ServiceValidationViewFactory.BEAN_NAME)
            final ServiceValidationViewFactory serviceValidationViewFactory,
            @Qualifier(PrincipalFactory.BEAN_NAME)
            final PrincipalFactory principalFactory,
            final ConfigurableApplicationContext applicationContext,
            @Qualifier(WebApplicationService.BEAN_NAME_FACTORY)
            final ServiceFactory<WebApplicationService> webApplicationServiceFactory,
            @Qualifier(PrincipalResolver.BEAN_NAME_PRINCIPAL_RESOLVER)
            final PrincipalResolver defaultPrincipalResolver) {
            return ServiceValidateConfigurationContext.builder()
                .applicationContext(applicationContext)
                .ticketRegistry(ticketRegistry)
                .principalFactory(principalFactory)
                .principalResolver(defaultPrincipalResolver)
                .authenticationSystemSupport(authenticationSystemSupport)
                .servicesManager(servicesManager)
                .centralAuthenticationService(centralAuthenticationService)
                .argumentExtractor(argumentExtractor)
                .requestedContextValidator(requestedContextValidator)
                .validationAuthorizers(serviceValidationAuthorizers)
                .casProperties(casProperties)
                .validationViewFactory(serviceValidationViewFactory)
                .serviceFactory(webApplicationServiceFactory)
                .build();
        }
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