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 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 |
testDOMDropFromFetch() |
void |
testInitFromPersistentCache() |
void |
testInitFromPersistentCacheWithDifferingKeys() |
void |
testInitFromPersistentCacheWithPredicate() |
void |
testNoEntities() |
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 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 testDOMDropFromFetch()
throws ComponentInitializationException,
ResolverException
public void testBasicResolutionWithPersistentCache()
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
Copyright © 1999–2017 Shibboleth Consortium. All rights reserved.