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, setSignatureVerificationCertificate
destroy, initialize, isDestroyed, isInitialized
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize, isInitialized
destroy, isDestroyed
public 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 AbstractMetadataProvider
requireValidMetadata
- 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 AbstractMetadataProvider
ComponentInitializationException
- for initialization errorsprotected void destroyMetadataResolver()
destroyMetadataResolver
in class AbstractMetadataProvider
Copyright © 2018 Litsec AB. All rights reserved.