Package org.apache.jmeter.util
Class CustomX509TrustManager
java.lang.Object
org.apache.jmeter.util.CustomX509TrustManager
- All Implemented Interfaces:
TrustManager
,X509TrustManager
Custom TrustManager ignores all certificate errors
TODO: implement conditional checking and logging
(Derived from AuthSSLX509TrustManager in HttpClient contrib directory)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClientTrusted
(X509Certificate[] certificates, String authType) void
checkServerTrusted
(X509Certificate[] certificates, String authType)
-
Constructor Details
-
CustomX509TrustManager
-
-
Method Details
-
checkClientTrusted
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
- See Also:
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String authType) throws CertificateException - Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
- See Also:
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
- See Also:
-