Package org.postgresql.ssl
Class DefaultJavaSSLFactory
java.lang.Object
javax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
org.postgresql.ssl.WrappedFactory
org.postgresql.ssl.DefaultJavaSSLFactory
Socket factory that uses Java's default truststore to validate server certificate.
Note: it always validates server certificate, so it might result to downgrade to non-encrypted
connection when default truststore lacks certificates to validate server.
-
Field Summary
Fields inherited from class org.postgresql.ssl.WrappedFactory
factory
-
Constructor Summary
-
Method Summary
Methods inherited from class org.postgresql.ssl.WrappedFactory
createSocket, createSocket, createSocket, createSocket, createSocket, getDefaultCipherSuites, getSupportedCipherSuites
Methods inherited from class javax.net.ssl.SSLSocketFactory
createSocket, getDefault
Methods inherited from class javax.net.SocketFactory
createSocket
-
Constructor Details
-
DefaultJavaSSLFactory
-