@Bean
    @ConditionalOnMissingBean(name = "mongoDbServiceRegistryExecutionPlanConfigurer")
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public ServiceRegistryExecutionPlanConfigurer mongoDbServiceRegistryExecutionPlanConfigurer(
        @Qualifier("mongoDbServiceRegistry")
        final ServiceRegistry mongoDbServiceRegistry) {
        return plan -> plan.registerServiceRegistry(mongoDbServiceRegistry);
    }
This is {@link CasMongoDbServiceRegistryAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-mongo-service-registry/src/main/java/org/apereo/cas/config/CasMongoDbServiceRegistryAutoConfiguration.java