Package com.logicaldoc.util.security
Class EasySSLSocketFactory
java.lang.Object
javax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
com.logicaldoc.util.security.EasySSLSocketFactory
An SSL socket factory that will let any certifacte pass, even if it's expired
or not singed by a root CA, unless the environment variable
ldoc.ssl.validate = true
- Since:
- 8.1
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateSocket
(String s, int i) createSocket
(String s, int i, InetAddress inaddr, int j) createSocket
(InetAddress inaddr, int i) createSocket
(InetAddress inaddr, int i, InetAddress inaddr2, int j) createSocket
(Socket socket, String s, int i, boolean flag) static SocketFactory
String[]
String[]
Methods inherited from class javax.net.ssl.SSLSocketFactory
createSocket
Methods inherited from class javax.net.SocketFactory
createSocket
-
Constructor Details
-
EasySSLSocketFactory
public EasySSLSocketFactory()
-
-
Method Details
-
getDefault
-
createSocket
- Specified by:
createSocket
in classSSLSocketFactory
- Throws:
IOException
-
createSocket
public Socket createSocket(InetAddress inaddr, int i, InetAddress inaddr2, int j) throws IOException - Specified by:
createSocket
in classSocketFactory
- Throws:
IOException
-
createSocket
- Specified by:
createSocket
in classSocketFactory
- Throws:
IOException
-
createSocket
- Specified by:
createSocket
in classSocketFactory
- Throws:
IOException
-
createSocket
- Specified by:
createSocket
in classSocketFactory
- Throws:
IOException
-
getDefaultCipherSuites
- Specified by:
getDefaultCipherSuites
in classSSLSocketFactory
-
getSupportedCipherSuites
- Specified by:
getSupportedCipherSuites
in classSSLSocketFactory
-