Class ReloadableMetadataResolver
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.idp.saml.metadata.impl.ReloadableMetadataResolver
- All Implemented Interfaces:
Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent,Resolver<EntityDescriptor,,CriteriaSet> MetadataResolver
public class ReloadableMetadataResolver
extends AbstractIdentifiableInitializableComponent
implements MetadataResolver
This class uses the service interface to implement
MetadataResolver.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.private final ReloadableService<MetadataResolver>The service which managed the reloading. -
Constructor Summary
ConstructorsConstructorDescriptionReloadableMetadataResolver(ReloadableService<MetadataResolver> resolverService) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetType()booleanresolve(CriteriaSet criteria) resolveSingle(CriteriaSet criteria) voidsetMetadataFilter(MetadataFilter newFilter) voidsetRequireValidMetadata(boolean requireValidMetadata) Methods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
doInitialize, ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getId
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
service
The service which managed the reloading.
-
-
Constructor Details
-
Method Details
-
isRequireValidMetadata
public boolean isRequireValidMetadata()- Specified by:
isRequireValidMetadatain interfaceMetadataResolver
-
setRequireValidMetadata
public void setRequireValidMetadata(boolean requireValidMetadata) - Specified by:
setRequireValidMetadatain interfaceMetadataResolver
-
getMetadataFilter
- Specified by:
getMetadataFilterin interfaceMetadataResolver
-
setMetadataFilter
- Specified by:
setMetadataFilterin interfaceMetadataResolver
-
getType
- Specified by:
getTypein interfaceMetadataResolver