LibPQFactory
@Deprecated public class LibPQFactory extends LibPQFactory implements HostnameVerifier
LibPQFactory.ConsoleCallbackHandler
factory
Constructor and Description |
---|
LibPQFactory(Properties info)
Deprecated.
prefer
LibPQFactory |
Modifier and Type | Method and Description |
---|---|
boolean |
verify(String hostname,
SSLSession session)
Deprecated.
use PgjdbcHostnameVerifier
|
static boolean |
verifyHostName(String hostname,
String pattern)
Deprecated.
|
throwKeyManagerException
createSocket, createSocket, createSocket, createSocket, createSocket, getDefaultCipherSuites, getSupportedCipherSuites
createSocket, getDefault
createSocket
@Deprecated public LibPQFactory(Properties info) throws PSQLException
LibPQFactory
info
- the connection parameters The following parameters are used:
sslmode,sslcert,sslkey,sslrootcert,sslhostnameverifier,sslpasswordcallback,sslpasswordPSQLException
- if security error appears when initializing factory@Deprecated public static boolean verifyHostName(String hostname, String pattern)
PGjdbcHostnameVerifier
hostname
- input hostnamepattern
- domain name pattern@Deprecated public boolean verify(String hostname, SSLSession session)
verify
in interface HostnameVerifier
hostname
- Hostname or IP address of the server.session
- The SSL session.PGjdbcHostnameVerifier
Copyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.