protected void configureAndInitializeSingleMetadataResolver(final AbstractMetadataResolver metadataProvider,
                                                                final SamlRegisteredService service) throws Exception {
        configureAndInitializeSingleMetadataResolver(metadataProvider, service, new ArrayList<>());
    }
protected void configureAndInitializeSingleMetadataResolver ( final AbstractMetadataResolver metadataProvider , final SamlRegisteredService service ) throws Exception { configureAndInitializeSingleMetadataResolver ( metadataProvider , service , new ArrayList < > ( ) ) ; }
Configure and initialize single metadata resolver.

@param metadataProvider the metadata provider
@param service          the service
@throws Exception the exception