Package com.logicaldoc.util.security
Class EasyX509TrustManager
java.lang.Object
com.logicaldoc.util.security.EasyX509TrustManager
- All Implemented Interfaces:
TrustManager
,X509TrustManager
Trust manager that trusts all the certificates unless the environment
variable
ldoc.ssl.validate = true
- Since:
- 7.5
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClientTrusted
(X509Certificate[] arg0, String arg1) void
checkServerTrusted
(X509Certificate[] arg0, String arg1)
-
Constructor Details
-
EasyX509TrustManager
public EasyX509TrustManager()
-
-
Method Details
-
checkClientTrusted
- Specified by:
checkClientTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
checkServerTrusted
- Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-