org.opensaml.saml2.metadata.provider
public abstract class BaseMetadataProvider extends Object implements MetadataProvider
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
BaseMetadataProvider()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntitiesDescriptor, getEntityDescriptor, getMetadata, getRole, getRole
protected UnmarshallerFactory unmarshallerFactory
private boolean requireValidMetadata
private MetadataFilter mdFilter
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 metadataMetadataProviderException
- thrown if the provider can not apply the filter to the metadatapublic void destroy()
Copyright © 1999-2013 JBoss by Red Hat. All Rights Reserved.