public class FunctionDrivenDynamicHTTPMetadataResolverTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private static String |
DATA_PATH |
private net.shibboleth.utilities.java.support.httpclient.HttpClientBuilder |
httpClientBuilder |
private org.opensaml.saml.metadata.resolver.impl.FunctionDrivenDynamicHTTPMetadataResolver |
resolver |
| Constructor and Description |
|---|
FunctionDrivenDynamicHTTPMetadataResolverTest() |
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElementprivate static final String DATA_PATH
private org.opensaml.saml.metadata.resolver.impl.FunctionDrivenDynamicHTTPMetadataResolver resolver
private net.shibboleth.utilities.java.support.httpclient.HttpClientBuilder httpClientBuilder
public FunctionDrivenDynamicHTTPMetadataResolverTest()
public void setUp()
public void tearDown()
public void testTemplateFromRepoDefaultContentTypes()
throws Exception
Exceptionpublic void testTemplateFromRepoWithExplicitContentType()
throws Exception
Exceptionpublic void testTemplateFromRepoUnsupportedContentType()
throws Exception
Exceptionpublic void testTemplateNonexistentDomain()
throws Exception
Exceptionpublic void testTemplateNonexistentPath()
throws Exception
Exceptionpublic void testTrustEngineSocketFactoryNoHTTPSNoTrustEngine()
throws Exception
Exceptionpublic void testTrustEngineSocketFactoryNoHTTPSWithTrustEngine()
throws Exception
Exceptionpublic void testHTTPSTrustEngineExplicitKey()
throws Exception
Exceptionpublic void testHTTPSTrustEngineInvalidKey()
throws Exception
Exceptionpublic void testHTTPSTrustEngineValidPKIX()
throws Exception
Exceptionpublic void testHTTPSTrustEngineValidPKIXExplicitName()
throws Exception
Exceptionpublic void testHTTPSTrustEngineInvalidPKIX()
throws Exception
Exceptionpublic void testHTTPSTrustEngineValidPKIXInvalidName()
throws Exception
Exceptionpublic void testHTTPSTrustEngineWrongSocketFactory()
throws Exception
Exceptionprivate LayeredConnectionSocketFactory buildTrustEngineSocketFactory()
private org.opensaml.security.trust.TrustEngine<? super org.opensaml.security.x509.X509Credential> buildExplicitKeyTrustEngine(String cert) throws URISyntaxException, CertificateException
private org.opensaml.security.trust.TrustEngine<? super org.opensaml.security.x509.X509Credential> buildPKIXTrustEngine(String cert, String name, boolean nameCheckEnabled) throws URISyntaxException, CertificateException
Copyright © 1999–2015. All rights reserved.