public class SAMLArtifactMetadataIndex extends Object implements MetadataIndex
MetadataIndex which indexes entities by their artifact SourceID values.| Modifier and Type | Class and Description |
|---|---|
protected static class |
SAMLArtifactMetadataIndex.ArtifactSourceIDMetadataIndexKey
An implementation of
MetadataIndexKey representing a SAML artifact SourceID value. |
protected static class |
SAMLArtifactMetadataIndex.ArtifactSourceLocationMetadataIndexKey
An implementation of
MetadataIndexKey representing a SAML artifact source location value. |
static class |
SAMLArtifactMetadataIndex.EntityIDToSHA1SourceIDIndexingFunction
Entity descriptor indexing function which produces a single
SAMLArtifactMetadataIndex.ArtifactSourceIDMetadataIndexKey based on the SHA-1 digest of the UTF-8 encoding
of the value of EntityDescriptor.getEntityID(). |
static class |
SAMLArtifactMetadataIndex.SourceIDExtensionIndexingFunction
Descriptor indexing function which produces 0 to many
SAMLArtifactMetadataIndex.ArtifactSourceIDMetadataIndexKey instances
based on the values of all SourceID extension elements present in the descriptor's
RoleDescriptors. |
static class |
SAMLArtifactMetadataIndex.SourceLocationIndexingFunction
Descriptor indexing function which produces 0 to many
SAMLArtifactMetadataIndex.ArtifactSourceLocationMetadataIndexKey instances
based on the location values of all ArtifactResolutionService elements present in the descriptor's
RoleDescriptors. |
| Modifier and Type | Field and Description |
|---|---|
private List<com.google.common.base.Function<EntityDescriptor,Set<MetadataIndexKey>>> |
indexingFunctions
Indexing function instance to use.
|
| Constructor and Description |
|---|
SAMLArtifactMetadataIndex()
Constructor.
|
SAMLArtifactMetadataIndex(List<com.google.common.base.Function<EntityDescriptor,Set<MetadataIndexKey>>> descriptorIndexingFunctions)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Set<MetadataIndexKey> |
generateKeys(CriteriaSet criteriaSet) |
Set<MetadataIndexKey> |
generateKeys(EntityDescriptor descriptor) |
private List<com.google.common.base.Function<EntityDescriptor,Set<MetadataIndexKey>>> indexingFunctions
public SAMLArtifactMetadataIndex()
The descriptor indexing functions will be:
public SAMLArtifactMetadataIndex(@Nonnull List<com.google.common.base.Function<EntityDescriptor,Set<MetadataIndexKey>>> descriptorIndexingFunctions)
descriptorIndexingFunctions - the functions used to produce index keys from an entity descriptor@Nullable public Set<MetadataIndexKey> generateKeys(@Nonnull EntityDescriptor descriptor)
generateKeys in interface MetadataIndex@Nullable public Set<MetadataIndexKey> generateKeys(@Nonnull CriteriaSet criteriaSet)
generateKeys in interface MetadataIndexCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.