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 SummaryConstructors
- 
Method SummaryModifier 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.SSLSocketFactorycreateSocketMethods inherited from class javax.net.SocketFactorycreateSocket
- 
Constructor Details- 
EasySSLSocketFactorypublic EasySSLSocketFactory()
 
- 
- 
Method Details- 
getDefault
- 
createSocket- Specified by:
- createSocketin class- SSLSocketFactory
- Throws:
- IOException
 
- 
createSocketpublic Socket createSocket(InetAddress inaddr, int i, InetAddress inaddr2, int j) throws IOException - Specified by:
- createSocketin class- SocketFactory
- Throws:
- IOException
 
- 
createSocket- Specified by:
- createSocketin class- SocketFactory
- Throws:
- IOException
 
- 
createSocket- Specified by:
- createSocketin class- SocketFactory
- Throws:
- IOException
 
- 
createSocket- Specified by:
- createSocketin class- SocketFactory
- Throws:
- IOException
 
- 
getDefaultCipherSuites- Specified by:
- getDefaultCipherSuitesin class- SSLSocketFactory
 
- 
getSupportedCipherSuites- Specified by:
- getSupportedCipherSuitesin class- SSLSocketFactory
 
 
-