Package org.opensaml.security.httpclient
Class HttpClientSecuritySupportTest
java.lang.Object
org.opensaml.security.httpclient.HttpClientSecuritySupportTest
Unit test for
HttpClientSecuritySupport.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidtestCheckTLSCredentialEvaluated(HttpClientSecuritySupportTest.MockTrustEngine trustEngine, String scheme, Boolean trusted, boolean shouldPass) voidvoidvoidvoidvoidprivate Object[][]
-
Field Details
-
cert
-
certDERPath
-
-
Constructor Details
-
HttpClientSecuritySupportTest
public HttpClientSecuritySupportTest()
-
-
Method Details
-
generatedTestData
@BeforeClass public void generatedTestData() throws NoSuchAlgorithmException, NoSuchProviderException, CertificateException, URISyntaxException -
testMarshalNullSecurityParameters
public void testMarshalNullSecurityParameters() -
testMarshalSecurityParametersEmptyContext
public void testMarshalSecurityParametersEmptyContext() -
testMarshalSecurityParametersWithReplacement
public void testMarshalSecurityParametersWithReplacement() -
testMarshalSecurityParametersWithoutReplacement
public void testMarshalSecurityParametersWithoutReplacement() -
testSetContextValue
public void testSetContextValue() -
tlsCredentialEvaluatedData
-
testCheckTLSCredentialEvaluated
public void testCheckTLSCredentialEvaluated(HttpClientSecuritySupportTest.MockTrustEngine trustEngine, String scheme, Boolean trusted, boolean shouldPass) -
testAddDefaultTLSTrustEngineCriteria
public void testAddDefaultTLSTrustEngineCriteria()
-