Interface MetadataResolver
-
- All Superinterfaces:
net.shibboleth.utilities.java.support.component.Component
,net.shibboleth.utilities.java.support.component.IdentifiedComponent
,net.shibboleth.utilities.java.support.resolver.Resolver<EntityDescriptor,net.shibboleth.utilities.java.support.resolver.CriteriaSet>
- All Known Subinterfaces:
BatchMetadataResolver
,ClearableMetadataResolver
,DynamicMetadataResolver
,RefreshableMetadataResolver
- All Known Implementing Classes:
ChainingMetadataResolver
public interface MetadataResolver extends net.shibboleth.utilities.java.support.resolver.Resolver<EntityDescriptor,net.shibboleth.utilities.java.support.resolver.CriteriaSet>, net.shibboleth.utilities.java.support.component.IdentifiedComponent
A resolver that is capable of resolvingEntityDescriptor
instances which meet certain supplied criteria. At a minimum, aMetadataResolver
implementation MUST support the following criteria:EntityIdCriterion
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetadataFilter
getMetadataFilter()
Gets the metadata filter applied to the metadata.boolean
isRequireValidMetadata()
Gets whether the metadata returned by queries must be valid.void
setMetadataFilter(MetadataFilter newFilter)
Sets the metadata filter applied to the metadata.void
setRequireValidMetadata(boolean requireValidMetadata)
Sets whether the metadata returned by queries must be valid.
-
-
-
Method Detail
-
isRequireValidMetadata
boolean isRequireValidMetadata()
Gets whether the metadata returned by queries must be valid.At a minimum, metadata is valid only if the date expressed in the
validUntil
attribute of the element and all its ancestral elements has not passed. Specific implementations may add additional constraints.- Returns:
- whether the metadata returned by queries must be valid
-
setRequireValidMetadata
void setRequireValidMetadata(boolean requireValidMetadata)
Sets whether the metadata returned by queries must be valid.- Parameters:
requireValidMetadata
- whether the metadata returned by queries must be valid
-
getMetadataFilter
@Nullable MetadataFilter getMetadataFilter()
Gets the metadata filter applied to the metadata.- Returns:
- the metadata filter applied to the metadata
-
setMetadataFilter
void setMetadataFilter(@Nullable MetadataFilter newFilter)
Sets the metadata filter applied to the metadata.- Parameters:
newFilter
- the metadata filter applied to the metadata
-
-