Interface RoleDescriptorResolver
-
- All Superinterfaces:
Component,IdentifiedComponent,Resolver<RoleDescriptor,CriteriaSet>
public interface RoleDescriptorResolver extends Resolver<RoleDescriptor,CriteriaSet>, IdentifiedComponent
A resolver that is capable of resolvingRoleDescriptorinstances which meet certain supplied criteria. At a minimum, aRoleDescriptorResolverimplementation MUST support the following criteria: Implementations SHOULD also support the following criteria when possible:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisRequireValidMetadata()Gets whether the metadata returned by queries must be valid.voidsetRequireValidMetadata(boolean requireValidMetadata)Sets whether the metadata returned by queries must be valid.-
Methods inherited from interface net.shibboleth.utilities.java.support.component.IdentifiedComponent
getId
-
Methods inherited from interface net.shibboleth.utilities.java.support.resolver.Resolver
resolve, resolveSingle
-
-
-
-
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 element, and all its ancestral element's, validUntil attribute 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
-
-