@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public WSFederationRequestConfigurationContext wsFederationConfigurationContext(
            @Qualifier("wsFederationRelyingPartyTokenProducer")
            final WSFederationRelyingPartyTokenProducer wsFederationRelyingPartyTokenProducer,
            @Qualifier(HttpClient.BEAN_NAME_HTTPCLIENT_NO_REDIRECT)
            final HttpClient httpClient,
            @Qualifier("wsFederationAuthenticationServiceSelectionStrategy")
            final AuthenticationServiceSelectionStrategy wsFederationAuthenticationServiceSelectionStrategy,
            @Qualifier(TicketRegistrySupport.BEAN_NAME)
            final TicketRegistrySupport ticketRegistrySupport,
            @Qualifier(TicketFactory.BEAN_NAME)
            final TicketFactory ticketFactory,
            @Qualifier(TicketRegistry.BEAN_NAME)
            final TicketRegistry ticketRegistry,
            @Qualifier("wsFederationCallbackService")
            final Service wsFederationCallbackService,
            @Qualifier("securityTokenServiceTokenFetcher")
            final SecurityTokenServiceTokenFetcher securityTokenServiceTokenFetcher,
            @Qualifier(ServicesManager.BEAN_NAME)
            final ServicesManager servicesManager,
            @Qualifier(CasCookieBuilder.BEAN_NAME_TICKET_GRANTING_COOKIE_BUILDER)
            final CasCookieBuilder ticketGrantingTicketCookieGenerator,
            @Qualifier("wsFederationTicketValidator")
            final TicketValidator wsFederationTicketValidator,
            @Qualifier(WebApplicationService.BEAN_NAME_FACTORY)
            final ServiceFactory<WebApplicationService> webApplicationServiceFactory,
            final CasConfigurationProperties casProperties) {
            return WSFederationRequestConfigurationContext.builder()
                .servicesManager(servicesManager)
                .relyingPartyTokenProducer(wsFederationRelyingPartyTokenProducer)
                .webApplicationServiceFactory(webApplicationServiceFactory)
                .casProperties(casProperties)
                .ticketValidator(wsFederationTicketValidator)
                .securityTokenServiceTokenFetcher(securityTokenServiceTokenFetcher)
                .serviceSelectionStrategy(wsFederationAuthenticationServiceSelectionStrategy)
                .httpClient(httpClient)
                .ticketFactory(ticketFactory)
                .ticketGrantingTicketCookieGenerator(ticketGrantingTicketCookieGenerator)
                .ticketRegistry(ticketRegistry)
                .ticketRegistrySupport(ticketRegistrySupport)
                .callbackService(wsFederationCallbackService)
                .build();
        }
This is {@link CoreWsSecurityIdentityProviderConfiguration}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-ws-idp/src/main/java/org/apereo/cas/config/CoreWsSecurityIdentityProviderConfiguration.java