public class FunctionDrivenDynamicHTTPMetadataResolver extends AbstractDynamicHTTPMetadataResolver
Function instance.
The function defaults to an instance of HTTPEntityIDRequestURLBuilder, thereby implementing
the "well-known location" resolution mechanism defined in the SAML 2 metadata specification if the entity ID
is an HTTP or HTTPS URL.
AbstractDynamicHTTPMetadataResolver.BasicMetadataResponseHandlerAbstractDynamicMetadataResolver.BackingStoreCleanupSweeper, AbstractDynamicMetadataResolver.DynamicEntityBackingStore, AbstractDynamicMetadataResolver.EntityManagementDataAbstractMetadataResolver.EntityBackingStore| Modifier and Type | Field and Description |
|---|---|
private Logger |
log
Logger.
|
private com.google.common.base.Function<String,String> |
requestURLBuilder
Function for building the request URL.
|
DEFAULT_CONTENT_TYPES| Constructor and Description |
|---|
FunctionDrivenDynamicHTTPMetadataResolver(HttpClient client)
Constructor.
|
FunctionDrivenDynamicHTTPMetadataResolver(Timer backgroundTaskTimer,
HttpClient client)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildRequestURL(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria)
Build the request URL based on the input criteria set.
|
com.google.common.base.Function<String,String> |
getRequestURLBuilder()
Get the function which builds the request URL.
|
void |
setRequestURLBuilder(com.google.common.base.Function<String,String> builder)
Set the function which builds the request URL.
|
buildHttpClientContext, buildHttpRequest, checkTLSCredentialTrusted, doDestroy, fetchFromOriginSource, getSupportedContentTypes, initMetadataResolver, setBasicCredentials, setBasicCredentialsWithScope, setCredentialsProvider, setSupportedContentTypes, setTLSTrustEnginecomputeExpirationTime, computeRefreshTriggerTime, createNewBackingStore, getBackingStore, getCleanupTaskInterval, getMaxCacheDuration, getMaxIdleEntityData, getMinCacheDuration, getRefreshDelayFactor, isRemoveIdleEntityData, lookupEntityID, preProcessEntityDescriptor, processNewMetadata, resolve, resolveFromOriginSource, setCleanupTaskInterval, setMaxCacheDuration, setMaxIdleEntityData, setMinCacheDuration, setRefreshDelayFactor, setRemoveIdleEntityData, shouldAttemptRefreshdoInitialize, filterMetadata, getMetadataFilter, getParserPool, getUnmarshallerFactory, indexEntityDescriptor, isFailFastInitialization, isRequireValidMetadata, isValid, lookupIndexedEntityID, preProcessEntitiesDescriptor, releaseMetadataDOM, removeByEntityID, resolveSingle, setBackingStore, setFailFastInitialization, setMetadataFilter, setParserPool, setRequireValidMetadata, unmarshallMetadatasetIdgetIddestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetadataFilter, isRequireValidMetadata, setMetadataFilter, setRequireValidMetadataprivate final Logger log
public FunctionDrivenDynamicHTTPMetadataResolver(HttpClient client)
client - the instance of HttpClient used to fetch remote metadatapublic FunctionDrivenDynamicHTTPMetadataResolver(@Nullable Timer backgroundTaskTimer, @Nonnull HttpClient client)
backgroundTaskTimer - the Timer instance used to run resolver background managment tasksclient - the instance of HttpClient used to fetch remote metadata@Nonnull public com.google.common.base.Function<String,String> getRequestURLBuilder()
Defaults to an instance of HTTPEntityIDRequestURLBuilder.
public void setRequestURLBuilder(@Nonnull com.google.common.base.Function<String,String> builder)
Defaults to an instance of HTTPEntityIDRequestURLBuilder.
builder - the reqeust URL builder function instance@Nullable protected String buildRequestURL(@Nonnull net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria)
buildRequestURL in class AbstractDynamicHTTPMetadataResolvercriteria - the input criteria setCopyright © 1999–2015. All rights reserved.