public class SAMLArtifactMetadataIndexTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.saml2.metadata.EntityDescriptor |
descriptor |
private String |
entityID |
private byte[] |
entityIDSourceID |
private MetadataIndexKey |
entityIDSourceIDKey |
private org.opensaml.saml.ext.saml1md.SourceID |
extSourceID1a |
private org.opensaml.saml.ext.saml1md.SourceID |
extSourceID1b |
private org.opensaml.saml.ext.saml1md.SourceID |
extSourceID2 |
private MetadataIndexKey |
extSourceIDKey1a |
private MetadataIndexKey |
extSourceIDKey1b |
private MetadataIndexKey |
extSourceIDKey2 |
private org.opensaml.saml.metadata.resolver.index.impl.SAMLArtifactMetadataIndex |
metadataIndex |
private org.opensaml.saml.common.binding.artifact.SAMLSourceIDArtifact |
sourceIDArtifact |
private String |
sourceLocation1 |
private String |
sourceLocation2 |
private org.opensaml.saml.common.binding.artifact.SAMLSourceLocationArtifact |
sourceLocationArtifact1 |
private MetadataIndexKey |
sourceLocationKey1 |
private MetadataIndexKey |
sourceLocationKey2 |
| Constructor and Description |
|---|
SAMLArtifactMetadataIndexTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testGenerateKeysFromDescriptorEntityIDOnly() |
void |
testGenerateKeysFromDescriptorWithExtensionAndARS() |
void |
testGenerateKeysFromDescriptorWithMultipleARS() |
void |
testGenerateKeysFromDescriptorWithMultipleExtensions() |
void |
testGenerateKeysFromDescriptorWithOneARS() |
void |
testGenerateKeysFromDescriptorWithOneExtension() |
void |
testGenerateSourceIDKeysFromCriteria() |
void |
testGenerateSourceLocationKeysFromCriteria() |
void |
testSourceIDKey() |
void |
testSourceLocationKey() |
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementprivate org.opensaml.saml.metadata.resolver.index.impl.SAMLArtifactMetadataIndex metadataIndex
private String entityID
private byte[] entityIDSourceID
private String sourceLocation1
private String sourceLocation2
private org.opensaml.saml.saml2.metadata.EntityDescriptor descriptor
private org.opensaml.saml.ext.saml1md.SourceID extSourceID1a
private org.opensaml.saml.ext.saml1md.SourceID extSourceID1b
private org.opensaml.saml.ext.saml1md.SourceID extSourceID2
private MetadataIndexKey entityIDSourceIDKey
private MetadataIndexKey extSourceIDKey1a
private MetadataIndexKey extSourceIDKey1b
private MetadataIndexKey extSourceIDKey2
private MetadataIndexKey sourceLocationKey1
private MetadataIndexKey sourceLocationKey2
private org.opensaml.saml.common.binding.artifact.SAMLSourceIDArtifact sourceIDArtifact
private org.opensaml.saml.common.binding.artifact.SAMLSourceLocationArtifact sourceLocationArtifact1
protected void setUp()
throws NoSuchAlgorithmException,
UnsupportedEncodingException
public void testGenerateKeysFromDescriptorEntityIDOnly()
public void testGenerateKeysFromDescriptorWithOneARS()
public void testGenerateKeysFromDescriptorWithMultipleARS()
public void testGenerateKeysFromDescriptorWithOneExtension()
public void testGenerateKeysFromDescriptorWithMultipleExtensions()
public void testGenerateKeysFromDescriptorWithExtensionAndARS()
public void testGenerateSourceIDKeysFromCriteria()
public void testGenerateSourceLocationKeysFromCriteria()
public void testSourceIDKey()
throws UnsupportedEncodingException,
NoSuchAlgorithmException
public void testSourceLocationKey()
throws UnsupportedEncodingException,
NoSuchAlgorithmException
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.