public class ResourceBackedMetadataResolver extends AbstractReloadingMetadataResolver
Resource.AbstractBatchMetadataResolver.BatchEntityBackingStoreAbstractMetadataResolver.EntityBackingStore| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private Resource |
metadataResource
Resource from which metadata is read.
|
| Constructor and Description |
|---|
ResourceBackedMetadataResolver(Resource resource)
Constructor.
|
ResourceBackedMetadataResolver(Timer timer,
Resource resource)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDestroy() |
protected byte[] |
fetchMetadata()
Fetches metadata from a source.
|
protected String |
getMetadataIdentifier()
Gets an identifier which may be used to distinguish this metadata in logging statements.
|
computeNextRefreshDelay, getExpirationTime, getExpirationWarningThreshold, getLastRefresh, getLastSuccessfulRefresh, getLastUpdate, getMaxRefreshDelay, getMinRefreshDelay, getNextRefresh, getRefreshDelayFactor, initMetadataResolver, inputstreamToByteArray, postProcessMetadata, processCachedMetadata, processNewMetadata, processNonExpiredMetadata, processPreExpiredMetadata, refresh, setCacheSourceMetadata, setExpirationWarningThreshold, setMaxRefreshDelay, setMinRefreshDelay, setRefreshDelayFactor, unmarshallMetadata, wasLastRefreshSuccesscreateNewBackingStore, getBackingStore, getCachedFilteredMetadata, getCachedOriginalMetadata, getIndexes, getRootValidUntil, indexEntityDescriptor, isCacheSourceMetadata, isResolveViaPredicatesOnly, isRootValid, iterator, lookupByIndexes, preProcessNewMetadata, resolve, setIndexes, setResolveViaPredicatesOnlydoInitialize, filterMetadata, getCriterionPredicateRegistry, getLogPrefix, getMetadataFilter, getParserPool, getUnmarshallerFactory, isFailFastInitialization, isRequireValidMetadata, isSatisfyAnyPredicates, isUseDefaultPredicateRegistry, isValid, lookupEntityID, lookupIndexedEntityID, predicateFilterCandidates, preProcessEntitiesDescriptor, preProcessEntityDescriptor, releaseMetadataDOM, removeByEntityID, resolveSingle, setBackingStore, setCriterionPredicateRegistry, setFailFastInitialization, setMetadataFilter, setParserPool, setRequireValidMetadata, setSatisfyAnyPredicates, setUseDefaultPredicateRegistry, unmarshallMetadatasetIdgetIddestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetadataFilter, isRequireValidMetadata, setMetadataFilter, setRequireValidMetadataresolve, resolveSinglegetIdforEach, spliteratorprivate final org.slf4j.Logger log
private Resource metadataResource
public ResourceBackedMetadataResolver(@ParameterName(name="timer") Timer timer, @ParameterName(name="resource") Resource resource) throws IOException
resource - resource from which to read the metadata file.timer - task timer used to schedule metadata refresh tasksIOException - thrown if there is a problem retrieving information about the resourcepublic ResourceBackedMetadataResolver(@ParameterName(name="resource") Resource resource) throws IOException
resource - resource from which to read the metadata file.IOException - thrown if there is a problem retrieving information about the resourceprotected void doDestroy()
doDestroy in class AbstractReloadingMetadataResolverprotected String getMetadataIdentifier()
getMetadataIdentifier in class AbstractReloadingMetadataResolverprotected byte[] fetchMetadata()
throws ResolverException
fetchMetadata in class AbstractReloadingMetadataResolverResolverException - thrown if there is a problem fetching the metadataCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.