Class SAMLArtifactMetadataIndexTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.saml.metadata.resolver.index.impl.SAMLArtifactMetadataIndexTest
-
public class SAMLArtifactMetadataIndexTest extends XMLObjectBaseTestCase
-
-
Field Summary
Fields Modifier and Type Field Description private EntityDescriptordescriptorprivate StringentityIDprivate byte[]entityIDSourceIDprivate MetadataIndexKeyentityIDSourceIDKeyprivate SourceIDextSourceID1aprivate SourceIDextSourceID1bprivate SourceIDextSourceID2private MetadataIndexKeyextSourceIDKey1aprivate MetadataIndexKeyextSourceIDKey1bprivate MetadataIndexKeyextSourceIDKey2private SAMLArtifactMetadataIndexmetadataIndexprivate SAMLSourceIDArtifactsourceIDArtifactprivate StringsourceLocation1private StringsourceLocation2private SAMLSourceLocationArtifactsourceLocationArtifact1private MetadataIndexKeysourceLocationKey1private MetadataIndexKeysourceLocationKey2-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description SAMLArtifactMetadataIndexTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetUp()voidtestGenerateKeysFromDescriptorEntityIDOnly()voidtestGenerateKeysFromDescriptorWithExtensionAndARS()voidtestGenerateKeysFromDescriptorWithMultipleARS()voidtestGenerateKeysFromDescriptorWithMultipleExtensions()voidtestGenerateKeysFromDescriptorWithOneARS()voidtestGenerateKeysFromDescriptorWithOneExtension()voidtestGenerateSourceIDKeysFromCriteria()voidtestGenerateSourceLocationKeysFromCriteria()voidtestSourceIDKey()voidtestSourceLocationKey()-
Methods inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
assertXMLEquals, assertXMLEquals, buildXMLObject, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElement
-
Methods inherited from class org.opensaml.core.testing.OpenSAMLInitBaseTestCase
initOpenSAML
-
-
-
-
Field Detail
-
metadataIndex
private SAMLArtifactMetadataIndex metadataIndex
-
entityID
private String entityID
-
entityIDSourceID
private byte[] entityIDSourceID
-
sourceLocation1
private String sourceLocation1
-
sourceLocation2
private String sourceLocation2
-
descriptor
private EntityDescriptor descriptor
-
extSourceID1a
private SourceID extSourceID1a
-
extSourceID1b
private SourceID extSourceID1b
-
extSourceID2
private SourceID extSourceID2
-
entityIDSourceIDKey
private MetadataIndexKey entityIDSourceIDKey
-
extSourceIDKey1a
private MetadataIndexKey extSourceIDKey1a
-
extSourceIDKey1b
private MetadataIndexKey extSourceIDKey1b
-
extSourceIDKey2
private MetadataIndexKey extSourceIDKey2
-
sourceLocationKey1
private MetadataIndexKey sourceLocationKey1
-
sourceLocationKey2
private MetadataIndexKey sourceLocationKey2
-
sourceIDArtifact
private SAMLSourceIDArtifact sourceIDArtifact
-
sourceLocationArtifact1
private SAMLSourceLocationArtifact sourceLocationArtifact1
-
-
Method Detail
-
setUp
@BeforeMethod protected void setUp() throws NoSuchAlgorithmException, UnsupportedEncodingException
-
testGenerateKeysFromDescriptorEntityIDOnly
public void testGenerateKeysFromDescriptorEntityIDOnly()
-
testGenerateKeysFromDescriptorWithOneARS
public void testGenerateKeysFromDescriptorWithOneARS()
-
testGenerateKeysFromDescriptorWithMultipleARS
public void testGenerateKeysFromDescriptorWithMultipleARS()
-
testGenerateKeysFromDescriptorWithOneExtension
public void testGenerateKeysFromDescriptorWithOneExtension()
-
testGenerateKeysFromDescriptorWithMultipleExtensions
public void testGenerateKeysFromDescriptorWithMultipleExtensions()
-
testGenerateKeysFromDescriptorWithExtensionAndARS
public void testGenerateKeysFromDescriptorWithExtensionAndARS()
-
testGenerateSourceIDKeysFromCriteria
public void testGenerateSourceIDKeysFromCriteria()
-
testGenerateSourceLocationKeysFromCriteria
public void testGenerateSourceLocationKeysFromCriteria()
-
testSourceIDKey
public void testSourceIDKey() throws UnsupportedEncodingException, NoSuchAlgorithmException
-
testSourceLocationKey
public void testSourceLocationKey() throws UnsupportedEncodingException, NoSuchAlgorithmException
-
-