Class FunctionDrivenDynamicHTTPMetadataResolverTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- org.opensaml.core.testing.XMLObjectBaseTestCase
-
- org.opensaml.saml.metadata.resolver.impl.FunctionDrivenDynamicHTTPMetadataResolverTest
-
public class FunctionDrivenDynamicHTTPMetadataResolverTest extends XMLObjectBaseTestCase
-
-
Field Summary
Fields Modifier and Type Field Description private HttpClientBuilderhttpClientBuilderprivate FunctionDrivenDynamicHTTPMetadataResolverresolver-
Fields inherited from class org.opensaml.core.testing.XMLObjectBaseTestCase
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory
-
-
Constructor Summary
Constructors Constructor Description FunctionDrivenDynamicHTTPMetadataResolverTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtearDown()voidtestHTTPSNoTrustEngine()voidtestHTTPSTrustEngineExplicitKey()voidtestHTTPSTrustEngineInvalidKey()voidtestHTTPSTrustEngineInvalidPKIX()voidtestHTTPSTrustEngineValidPKIX()voidtestHTTPSTrustEngineValidPKIXExplicitName()voidtestHTTPSTrustEngineValidPKIXInvalidName()voidtestHTTPSTrustEngineWrongSocketFactory()voidtestMDQ()voidtestMDQViaArtifact()voidtestTemplateFromRepoDefaultContentTypes()voidtestTemplateFromRepoUnsupportedContentType()voidtestTemplateFromRepoWithExplicitContentType()voidtestTemplateNonexistentDomain()voidtestTemplateNonexistentPath()voidtestTrustEngineSocketFactoryNoHTTPSNoTrustEngine()voidtestTrustEngineSocketFactoryNoHTTPSWithTrustEngine()voidtestWellKnownLocation()-
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
-
resolver
private FunctionDrivenDynamicHTTPMetadataResolver resolver
-
httpClientBuilder
private HttpClientBuilder httpClientBuilder
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp()
-
tearDown
@AfterMethod public void tearDown()
-
testTemplateFromRepoDefaultContentTypes
public void testTemplateFromRepoDefaultContentTypes() throws Exception- Throws:
Exception
-
testTemplateFromRepoWithExplicitContentType
public void testTemplateFromRepoWithExplicitContentType() throws Exception- Throws:
Exception
-
testTemplateFromRepoUnsupportedContentType
public void testTemplateFromRepoUnsupportedContentType() throws Exception- Throws:
Exception
-
testTemplateNonexistentDomain
public void testTemplateNonexistentDomain() throws Exception- Throws:
Exception
-
testTemplateNonexistentPath
public void testTemplateNonexistentPath() throws Exception- Throws:
Exception
-
testTrustEngineSocketFactoryNoHTTPSNoTrustEngine
public void testTrustEngineSocketFactoryNoHTTPSNoTrustEngine() throws Exception- Throws:
Exception
-
testTrustEngineSocketFactoryNoHTTPSWithTrustEngine
public void testTrustEngineSocketFactoryNoHTTPSWithTrustEngine() throws Exception- Throws:
Exception
-
testHTTPSTrustEngineExplicitKey
public void testHTTPSTrustEngineExplicitKey() throws Exception- Throws:
Exception
-
testHTTPSTrustEngineInvalidKey
public void testHTTPSTrustEngineInvalidKey() throws Exception- Throws:
Exception
-
testHTTPSTrustEngineValidPKIX
public void testHTTPSTrustEngineValidPKIX() throws Exception- Throws:
Exception
-
testHTTPSTrustEngineValidPKIXExplicitName
public void testHTTPSTrustEngineValidPKIXExplicitName() throws Exception- Throws:
Exception
-
testHTTPSTrustEngineInvalidPKIX
public void testHTTPSTrustEngineInvalidPKIX() throws Exception- Throws:
Exception
-
testHTTPSTrustEngineValidPKIXInvalidName
public void testHTTPSTrustEngineValidPKIXInvalidName() throws Exception- Throws:
Exception
-
-