All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.edu.icm.unity.saml.metadata.srv.RemoteMetadataService Maven / Gradle / Ivy

There is a newer version: 4.0.4
Show newest version
/*
 * Copyright (c) 2017 Bixbit - Krzysztof Benedyczak All rights reserved.
 * See LICENCE.txt file for licensing information.
 */
package pl.edu.icm.unity.saml.metadata.srv;

import java.time.Duration;
import java.util.function.BiConsumer;

import xmlbeans.org.oasis.saml2.metadata.EntitiesDescriptorDocument;

/**
 * Handles registration of metadata consumers and manages workers handling 
 * individual metadata retrievals.
 *  
 * @author K. Benedyczak
 */
public interface RemoteMetadataService
{
	String preregisterConsumer(String url);
	
	void registerConsumer(String key, Duration refreshInterval,
			String customTruststore, BiConsumer consumer, boolean logoDownload);
	
	void unregisterConsumer(String id);
	
	void reset();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy