code: protected void configureAndInitializeSingleMetadataResolver(final AbstractMetadataResolver metadataProvider,
                                                                  final SamlRegisteredService service,
                                                                  final List<MetadataFilter> metadataFilterList) throws Exception {
          val md = samlIdPProperties.getMetadata();
          metadataProvider.setParserPool(this.configBean.getParserPool());
          metadataProvider.setFailFastInitialization(md.isFailFast());
          metadataProvider.setRequireValidMetadata(md.isRequireValidMetadata());
          metadataProvider.setId(metadataProvider.getClass().getCanonicalName());
  
          buildMetadataFilters(service, metadataProvider, metadataFilterList);
  
          LOGGER.debug("Initializing metadata resolver from [{}]", service.getMetadataLocation());
          metadataProvider.initialize();
          LOGGER.info("Initialized metadata resolver from [{}]", service.getMetadataLocation());
      }
docs: Build single metadata resolver metadata resolver.
  
  @param metadataProvider   the metadata provider
  @param service            the service
  @param metadataFilterList the metadata filter list
  @throws Exception the exception