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.EntityBackingStoreDEFAULT_CONTENT_TYPES| Constructor and Description |
|---|
FunctionDrivenDynamicHTTPMetadataResolver(org.apache.http.client.HttpClient client)
Constructor.
|
FunctionDrivenDynamicHTTPMetadataResolver(Timer backgroundTaskTimer,
org.apache.http.client.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, setRequireValidMetadatapublic FunctionDrivenDynamicHTTPMetadataResolver(org.apache.http.client.HttpClient client)
client - the instance of HttpClient used to fetch remote metadatapublic FunctionDrivenDynamicHTTPMetadataResolver(@Nullable Timer backgroundTaskTimer, @Nonnull org.apache.http.client.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 © 2021. All rights reserved.