/******************************************************************************* *******************************************************************************/ package at.gv.egiz.eaaf.modules.pvp2.api.metadata; import java.util.List; import javax.xml.namespace.QName; import org.opensaml.saml2.metadata.EntitiesDescriptor; import org.opensaml.saml2.metadata.EntityDescriptor; import org.opensaml.saml2.metadata.RoleDescriptor; import org.opensaml.saml2.metadata.provider.MetadataFilter; import org.opensaml.saml2.metadata.provider.MetadataProvider; import org.opensaml.saml2.metadata.provider.MetadataProviderException; import org.opensaml.xml.XMLObject; public interface IPVPMetadataProvider extends MetadataProvider { boolean requireValidMetadata(); void setRequireValidMetadata(boolean requireValidMetadata); MetadataFilter getMetadataFilter(); void setMetadataFilter(MetadataFilter newFilter) throws MetadataProviderException; XMLObject getMetadata() throws MetadataProviderException; EntitiesDescriptor getEntitiesDescriptor(String entitiesID) throws MetadataProviderException; EntityDescriptor getEntityDescriptor(String entityID) throws MetadataProviderException; List getRole(String entityID, QName roleName) throws MetadataProviderException; RoleDescriptor getRole(String entityID, QName roleName, String supportedProtocol) throws MetadataProviderException; }