@ConditionalOnMissingBean(name = CasWebflowConstants.ACTION_ID_SAML_METADATA_UI_PARSER)
    @Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public Action samlMetadataUIParserAction(
        final ConfigurableApplicationContext applicationContext,
        @Qualifier("chainingSamlMetadataUIMetadataResolverAdapter")
        final MetadataResolverAdapter chainingSamlMetadataUIMetadataResolverAdapter,
        @Qualifier(ServicesManager.BEAN_NAME)
        final ServicesManager servicesManager,
        final CasConfigurationProperties casProperties,
        @Qualifier(ArgumentExtractor.BEAN_NAME)
        final ArgumentExtractor argumentExtractor,
        @Qualifier(WebApplicationService.BEAN_NAME_FACTORY)
        final ServiceFactory<WebApplicationService> serviceFactory) {
        return WebflowActionBeanSupplier.builder()
            .withApplicationContext(applicationContext)
            .withProperties(casProperties)
            .withAction(() -> {
                val parameter = StringUtils.defaultIfEmpty(casProperties.getSamlMetadataUi().getParameter(), SamlProtocolConstants.PARAMETER_ENTITY_ID);
                return new SamlMetadataUIParserAction(parameter, chainingSamlMetadataUIMetadataResolverAdapter,
                    serviceFactory, servicesManager, argumentExtractor);
            })
            .withId(CasWebflowConstants.ACTION_ID_SAML_METADATA_UI_PARSER)
            .build()
            .get();
    }
This is {@link SamlMetadataUIWebflowConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-saml-mdui/src/main/java/org/apereo/cas/config/SamlMetadataUIWebflowConfiguration.java