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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] certificates, String authType) voidcheckServerTrusted(X509Certificate[] certificates, String authType)
-
Constructor Details
-
CustomX509TrustManager
-
-
Method Details
-
checkClientTrusted
- Specified by:
checkClientTrustedin interfaceX509TrustManager- See Also:
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String authType) throws CertificateException - Specified by:
checkServerTrustedin interfaceX509TrustManager- Throws:
CertificateException- See Also:
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager- See Also:
-