Package org.postgresql.ssl
Class DefaultJavaSSLFactory
- java.lang.Object
-
- javax.net.SocketFactory
-
- javax.net.ssl.SSLSocketFactory
-
- org.postgresql.ssl.WrappedFactory
-
- org.postgresql.ssl.DefaultJavaSSLFactory
-
public class DefaultJavaSSLFactory extends WrappedFactory
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
Constructors Constructor Description DefaultJavaSSLFactory(java.util.Properties info)
-
Method Summary
-
Methods inherited from class org.postgresql.ssl.WrappedFactory
createSocket, createSocket, createSocket, createSocket, createSocket, getDefaultCipherSuites, getSupportedCipherSuites
-
-