public class AbstractDynamicMetadataResolverTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Modifier and Type | Class and Description |
|---|---|
private static class |
AbstractDynamicMetadataResolverTest.MockDynamicResolver |
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.saml.saml2.metadata.EntityDescriptor |
ed1 |
private org.opensaml.saml.saml2.metadata.EntityDescriptor |
ed2 |
private org.opensaml.saml.saml2.metadata.EntityDescriptor |
ed3 |
private String |
id1 |
private String |
id2 |
private String |
id3 |
private com.google.common.base.Function<org.opensaml.saml.saml2.metadata.EntityDescriptor,String> |
persistentCacheKeyGenerator |
private org.opensaml.core.xml.persist.XMLObjectLoadSaveManager<org.opensaml.saml.saml2.metadata.EntityDescriptor> |
persistentCacheManager |
private Map<String,org.opensaml.saml.saml2.metadata.EntityDescriptor> |
persistentCacheMap |
private AbstractDynamicMetadataResolverTest.MockDynamicResolver |
resolver |
private SignatureTrustEngine |
signatureTrustEngine |
private org.opensaml.saml.metadata.resolver.filter.impl.SignatureValidationFilter |
signatureValidationFilter |
private org.opensaml.security.credential.Credential |
signingCred |
private SignatureSigningParameters |
signingParams |
private Map<String,org.opensaml.saml.saml2.metadata.EntityDescriptor> |
sourceMap |
| Constructor and Description |
|---|
AbstractDynamicMetadataResolverTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
setUpEntityData() |
protected void |
setUpSigningSupport() |
protected void |
tearDown() |
void |
testBasicResolution() |
void |
testBasicResolutionWithPersistentCache() |
void |
testClear() |
void |
testClearByEntityID() |
void |
testDOMDropFromFetch() |
void |
testInitFromPersistentCache() |
void |
testInitFromPersistentCacheWithDifferingKeys() |
void |
testInitFromPersistentCacheWithPredicate() |
void |
testNoEntities() |
void |
testSecondaryIndexAfterEntityIDResolution() |
void |
testSecondaryIndexAfterEntityIDResolutionMultipleResults() |
void |
testSecondaryLookupThenEntityID() |
void |
testWithPersistentCache() |
void |
testWithPersistentCacheAndSignatureValidation() |
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElement, unmarshallElementprivate org.opensaml.core.xml.persist.XMLObjectLoadSaveManager<org.opensaml.saml.saml2.metadata.EntityDescriptor> persistentCacheManager
private Map<String,org.opensaml.saml.saml2.metadata.EntityDescriptor> persistentCacheMap
private com.google.common.base.Function<org.opensaml.saml.saml2.metadata.EntityDescriptor,String> persistentCacheKeyGenerator
private AbstractDynamicMetadataResolverTest.MockDynamicResolver resolver
private String id1
private String id2
private String id3
private org.opensaml.saml.saml2.metadata.EntityDescriptor ed1
private org.opensaml.saml.saml2.metadata.EntityDescriptor ed2
private org.opensaml.saml.saml2.metadata.EntityDescriptor ed3
private org.opensaml.security.credential.Credential signingCred
private SignatureSigningParameters signingParams
private SignatureTrustEngine signatureTrustEngine
private org.opensaml.saml.metadata.resolver.filter.impl.SignatureValidationFilter signatureValidationFilter
protected void setUpSigningSupport()
throws NoSuchAlgorithmException,
NoSuchProviderException
protected void setUpEntityData()
throws org.opensaml.core.xml.io.MarshallingException,
IOException,
org.opensaml.security.SecurityException,
SignatureException
org.opensaml.core.xml.io.MarshallingExceptionIOExceptionorg.opensaml.security.SecurityExceptionSignatureExceptionprotected void setUp()
protected void tearDown()
public void testNoEntities()
throws ComponentInitializationException,
ResolverException
public void testBasicResolution()
throws ComponentInitializationException,
ResolverException
public void testClear()
throws ComponentInitializationException,
ResolverException
public void testClearByEntityID()
throws ComponentInitializationException,
ResolverException
public void testDOMDropFromFetch()
throws ComponentInitializationException,
ResolverException
public void testBasicResolutionWithPersistentCache()
throws ComponentInitializationException,
ResolverException
public void testWithPersistentCache()
throws ComponentInitializationException,
ResolverException
public void testWithPersistentCacheAndSignatureValidation()
throws ComponentInitializationException,
ResolverException
public void testInitFromPersistentCache()
throws ComponentInitializationException,
ResolverException,
IOException
public void testInitFromPersistentCacheWithPredicate()
throws ComponentInitializationException,
ResolverException,
IOException
public void testInitFromPersistentCacheWithDifferingKeys()
throws ComponentInitializationException,
ResolverException,
IOException
public void testSecondaryIndexAfterEntityIDResolution()
throws ComponentInitializationException,
ResolverException
public void testSecondaryIndexAfterEntityIDResolutionMultipleResults()
throws ComponentInitializationException,
ResolverException
public void testSecondaryLookupThenEntityID()
throws ComponentInitializationException,
ResolverException
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.