package eu.dnetlib.enabling.aas.client;

import org.opensaml.lite.saml2.core.Assertion;

import pl.edu.icm.yadda.aas.client.IAssertionHolder;

/**
 * Assertion holder containing single assertion 
 * which can be used for storing service assertion.
 * 
 * addOrReplace() method semantics is slightly modified: new assertion is stored in place of existing one,
 * even if existing assertion id was different than the new assertion id.
 * 
 * @author mhorst
 *
 */
public interface ISingleAssertionHolder extends IAssertionHolder {

	/**
	 * Returns single stored assertion.
	 * @return
	 */
	Assertion getAssertion();
	
}
