code: protected void configureAndInitializeSingleMetadataResolver(final AbstractMetadataResolver metadataProvider,
                                                                  final SamlRegisteredService service) throws Exception {
          configureAndInitializeSingleMetadataResolver(metadataProvider, service, new ArrayList<>());
      }
docs: Configure and initialize single metadata resolver.
  
  @param metadataProvider the metadata provider
  @param service          the service
  @throws Exception the exception