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
Constructors -
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 SocketFactoryString[]String[]Methods inherited from class javax.net.ssl.SSLSocketFactory
createSocketMethods inherited from class javax.net.SocketFactory
createSocket
-
Constructor Details
-
EasySSLSocketFactory
public EasySSLSocketFactory()
-
-
Method Details
-
getDefault
-
createSocket
- Specified by:
createSocketin classSSLSocketFactory- Throws:
IOException
-
createSocket
public Socket createSocket(InetAddress inaddr, int i, InetAddress inaddr2, int j) throws IOException - Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
createSocket
- Specified by:
createSocketin classSocketFactory- Throws:
IOException
-
getDefaultCipherSuites
- Specified by:
getDefaultCipherSuitesin classSSLSocketFactory
-
getSupportedCipherSuites
- Specified by:
getSupportedCipherSuitesin classSSLSocketFactory
-