|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.saml2.metadata.provider.BaseMetadataProvider
public abstract class BaseMetadataProvider
Base class for metadata providers.
Field Summary | |
---|---|
private MetadataFilter |
mdFilter
Filter applied to all metadata. |
private boolean |
requireValidMetadata
Whether metadata is required to be valid. |
protected UnmarshallerFactory |
unmarshallerFactory
Unmarshaller factory used to get an unmarshaller for the metadata DOM. |
Constructor Summary | |
---|---|
BaseMetadataProvider()
Constructor. |
Method Summary | |
---|---|
void |
destroy()
Destroys the metadata provider and frees any resources current held by it. |
MetadataFilter |
getMetadataFilter()
Gets the metadata filter applied to the metadata. |
boolean |
requireValidMetadata()
Gets whether the metadata returned by queries must be valid. |
void |
setMetadataFilter(MetadataFilter newFilter)
Sets the metadata filter applied to the metadata. |
void |
setRequireValidMetadata(boolean require)
Sets whether the metadata returned by queries must be valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensaml.saml2.metadata.provider.MetadataProvider |
---|
getEntitiesDescriptor, getEntityDescriptor, getMetadata, getRole, getRole |
Field Detail |
---|
protected UnmarshallerFactory unmarshallerFactory
private boolean requireValidMetadata
private MetadataFilter mdFilter
Constructor Detail |
---|
public BaseMetadataProvider()
Method Detail |
---|
public boolean requireValidMetadata()
requireValidMetadata
in interface MetadataProvider
public void setRequireValidMetadata(boolean require)
setRequireValidMetadata
in interface MetadataProvider
require
- whether the metadata returned by queries must be validpublic MetadataFilter getMetadataFilter()
getMetadataFilter
in interface MetadataProvider
public void setMetadataFilter(MetadataFilter newFilter) throws MetadataProviderException
setMetadataFilter
in interface MetadataProvider
newFilter
- the metadata filter applied to the metadata
MetadataProviderException
- thrown if the provider can not apply the filter to the metadatapublic void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |