@Bean
        @ConditionalOnMissingBean(name = "samlIdPServiceRegistryExecutionPlanConfigurer")
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public ServiceRegistryExecutionPlanConfigurer samlIdPServiceRegistryExecutionPlanConfigurer(
            final ConfigurableApplicationContext applicationContext,
            @Qualifier("samlIdPCallbackService")
            final Service samlIdPCallbackService) {
            return plan -> {
                val callbackService = samlIdPCallbackService.getId().concat(".*");
                LOGGER.debug("Initializing SAML IdP callback service [{}]", callbackService);
                val service = new CasRegisteredService();
                service.setEvaluationOrder(Ordered.HIGHEST_PRECEDENCE);
                service.setName(service.getClass().getSimpleName());
                service.setDescription("SAML2 Authentication Request Callback");
                service.setServiceId(callbackService);
                service.markAsInternal();
                plan.registerServiceRegistry(new SamlIdPServiceRegistry(applicationContext, service));
            };
        }
This is {@link SamlIdPEndpointsConfiguration}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-saml-idp/src/main/java/org/apereo/cas/config/SamlIdPEndpointsConfiguration.java