パッケージ org.postgresql.ssl
クラス NonValidatingFactory
java.lang.Object
javax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
org.postgresql.ssl.WrappedFactory
org.postgresql.ssl.NonValidatingFactory
Provide a SSLSocketFactory that allows SSL connections to be made without validating the server's
certificate. This is more convenient for some applications, but is less secure as it allows "man
in the middle" attacks.
-
ネストされたクラスの概要
ネストされたクラス -
フィールドの概要
クラスから継承されたフィールド org.postgresql.ssl.WrappedFactory
factory
-
コンストラクタの概要
コンストラクタコンストラクタ説明We provide a constructor that takes an unused argument solely because the ssl calling code will look for this constructor first and then fall back to the no argument constructor, so we avoid an exception and additional reflection lookups. -
メソッドの概要
クラスから継承されたメソッド org.postgresql.ssl.WrappedFactory
createSocket, createSocket, createSocket, createSocket, createSocket, getDefaultCipherSuites, getSupportedCipherSuites
クラスから継承されたメソッド javax.net.ssl.SSLSocketFactory
createSocket, getDefault
クラスから継承されたメソッド javax.net.SocketFactory
createSocket
-
コンストラクタの詳細
-
NonValidatingFactory
We provide a constructor that takes an unused argument solely because the ssl calling code will look for this constructor first and then fall back to the no argument constructor, so we avoid an exception and additional reflection lookups.- パラメータ:
arg
- input argument- 例外:
GeneralSecurityException
- if something goes wrong
-