public class ProxyMetadataProvider extends AbstractMetadataProvider
MetadataResolver instance.AbstractMetadataProvider.EntityDescriptorIterator| Constructor and Description |
|---|
ProxyMetadataProvider(MetadataResolver metadataResolver)
Constructor assigning the OpenSAML metadata resolver that this instance should proxy.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createMetadataResolver(boolean requireValidMetadata,
boolean failFastInitialization,
MetadataFilter filter)
Creates the specific
MetadataResolver instance for the provider implementation. |
protected void |
destroyMetadataResolver()
Destroys the metadata resolver.
|
String |
getID()
Returns the identifier for the provider.
|
MetadataResolver |
getMetadataResolver()
Returns the underlying OpenSAML metadata resolver.
|
protected void |
initializeMetadataResolver()
Initializes the metadata resolver.
|
createFilter, doDestroy, doInitialize, getEntityDescriptor, getIdentityProviders, getIDPSSODescriptor, getLastUpdate, getMetadata, getMetadataDOM, getServiceProviders, getSPSSODescriptor, iterator, iterator, refresh, setExclusionPredicates, setFailFastInitialization, setInclusionPredicates, setPerformSchemaValidation, setRequireValidMetadata, setSignatureVerificationCertificatedestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitializeddestroy, isDestroyedpublic ProxyMetadataProvider(MetadataResolver metadataResolver)
The supplied instance must extend the AbstractMetadataResolver class.
metadataResolver - the metadata resolver to proxypublic String getID()
public MetadataResolver getMetadataResolver()
protected void createMetadataResolver(boolean requireValidMetadata,
boolean failFastInitialization,
MetadataFilter filter)
MetadataResolver instance for the provider implementation.
The filter parameter is a MetadataFilter that must be installed for the resolver. Any other
filters that should be installed by the specific instance should be placed last in a filter chain.
createMetadataResolver in class AbstractMetadataProviderrequireValidMetadata - should be passed into MetadataResolver.setRequireValidMetadata(boolean)failFastInitialization - should be passed into AbstractMetadataResolver.setFailFastInitialization(boolean) (if applicable)filter - filter that must be installed for the resolverprotected void initializeMetadataResolver()
throws ComponentInitializationException
initializeMetadataResolver in class AbstractMetadataProviderComponentInitializationException - for initialization errorsprotected void destroyMetadataResolver()
destroyMetadataResolver in class AbstractMetadataProviderCopyright © 2018 Litsec AB. All rights reserved.