Class WASAML2MetadataResolver

java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver
org.opensaml.saml.metadata.resolver.impl.AbstractBatchMetadataResolver
org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver
org.apache.syncope.wa.starter.pac4j.saml.WASAML2MetadataResolver
All Implemented Interfaces:
Iterable<org.opensaml.saml.saml2.metadata.EntityDescriptor>, net.shibboleth.shared.component.Component, net.shibboleth.shared.component.DestructableComponent, net.shibboleth.shared.component.IdentifiableComponent, net.shibboleth.shared.component.IdentifiedComponent, net.shibboleth.shared.component.InitializableComponent, net.shibboleth.shared.resolver.Resolver<org.opensaml.saml.saml2.metadata.EntityDescriptor,net.shibboleth.shared.resolver.CriteriaSet>, org.opensaml.saml.metadata.IterableMetadataSource, org.opensaml.saml.metadata.resolver.BatchMetadataResolver, org.opensaml.saml.metadata.resolver.MetadataResolver, org.opensaml.saml.metadata.resolver.RefreshableMetadataResolver

public class WASAML2MetadataResolver extends org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.opensaml.saml.metadata.resolver.impl.AbstractBatchMetadataResolver

    org.opensaml.saml.metadata.resolver.impl.AbstractBatchMetadataResolver.BatchEntityBackingStore

    Nested classes/interfaces inherited from class org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver

    org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver.EntityBackingStore
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final Logger
     
    protected final org.pac4j.saml.client.SAML2Client
     
    protected final WARestClient
     

    Fields inherited from class org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver

    METRIC_TIMER_REFRESH
  • Constructor Summary

    Constructors
    Constructor
    Description
    WASAML2MetadataResolver(WARestClient waRestClient, org.pac4j.saml.client.SAML2Client saml2Client)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected byte[]
     
    protected String
     

    Methods inherited from class org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver

    computeNextRefreshDelay, doDestroy, getExpirationTime, getExpirationWarningThreshold, getLastFailureCause, getLastRefresh, getLastSuccessfulRefresh, getLastUpdate, getMaxRefreshDelay, getMinRefreshDelay, getNextRefresh, getRefreshDelayFactor, initMetadataResolver, inputstreamToByteArray, postProcessMetadata, processCachedMetadata, processNewMetadata, processNonExpiredMetadata, processPreExpiredMetadata, refresh, setCacheSourceMetadata, setExpirationWarningThreshold, setMaxRefreshDelay, setMinRefreshDelay, setRefreshDelayFactor, unmarshallMetadata, wasLastRefreshSuccess

    Methods inherited from class org.opensaml.saml.metadata.resolver.impl.AbstractBatchMetadataResolver

    createNewBackingStore, doResolve, ensureBackingStore, getCachedFilteredMetadata, getCachedOriginalMetadata, getIndexes, getRootValidUntil, indexEntityDescriptor, isCacheSourceMetadata, isResolveViaPredicatesOnly, isRootValid, iterator, lookupByIndexes, preProcessNewMetadata, setIndexes, setResolveViaPredicatesOnly

    Methods inherited from class org.opensaml.saml.metadata.resolver.impl.AbstractMetadataResolver

    doInitialize, filterMetadata, getActivationCondition, getBackingStore, getCriterionPredicateRegistry, getLogPrefix, getMetadataFilter, getMetricsBaseName, getParserPool, getType, getUnmarshallerFactory, isFailFastInitialization, isRequireValidMetadata, isSatisfyAnyPredicates, isUseDefaultPredicateRegistry, isValid, lookupEntityID, lookupIndexedEntityID, newFilterContext, predicateFilterCandidates, preProcessEntitiesDescriptor, preProcessEntityDescriptor, releaseMetadataDOM, removeByEntityID, resolve, resolveSingle, setActivationCondition, setBackingStore, setCriterionPredicateRegistry, setFailFastInitialization, setMetadataFilter, setMetricsBaseName, setParserPool, setRequireValidMetadata, setSatisfyAnyPredicates, setType, setUseDefaultPredicateRegistry, unmarshallMetadata

    Methods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent

    setId

    Methods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent

    ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException

    Methods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent

    checkComponentActive, checkSetterPreconditions, destroy, initialize, isDestroyed, isInitialized

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.shibboleth.shared.component.IdentifiedComponent

    getId

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface org.opensaml.saml.metadata.resolver.MetadataResolver

    getMetadataFilter, getType, isRequireValidMetadata, setMetadataFilter, setRequireValidMetadata

    Methods inherited from interface net.shibboleth.shared.resolver.Resolver

    resolve, resolveSingle
  • Field Details

    • LOG

      protected static final Logger LOG
    • waRestClient

      protected final WARestClient waRestClient
    • saml2Client

      protected final org.pac4j.saml.client.SAML2Client saml2Client
  • Constructor Details

    • WASAML2MetadataResolver

      public WASAML2MetadataResolver(WARestClient waRestClient, org.pac4j.saml.client.SAML2Client saml2Client)
  • Method Details

    • getMetadataIdentifier

      protected String getMetadataIdentifier()
      Specified by:
      getMetadataIdentifier in class org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver
    • fetchMetadata

      protected byte[] fetchMetadata() throws net.shibboleth.shared.resolver.ResolverException
      Specified by:
      fetchMetadata in class org.opensaml.saml.metadata.resolver.impl.AbstractReloadingMetadataResolver
      Throws:
      net.shibboleth.shared.resolver.ResolverException