LibPQFactory@Deprecated public class LibPQFactory extends LibPQFactory implements HostnameVerifier
LibPQFactory.ConsoleCallbackHandlerfactory| 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.
|
throwKeyManagerExceptioncreateSocket, createSocket, createSocket, createSocket, createSocket, getDefaultCipherSuites, getSupportedCipherSuitescreateSocket, getDefaultcreateSocket@Deprecated public LibPQFactory(Properties info) throws PSQLException
LibPQFactoryinfo - 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)
PGjdbcHostnameVerifierhostname - input hostnamepattern - domain name pattern@Deprecated public boolean verify(String hostname, SSLSession session)
verify in interface HostnameVerifierhostname - Hostname or IP address of the server.session - The SSL session.PGjdbcHostnameVerifierCopyright © 1997-2021 PostgreSQL Global Development Group. All Rights Reserved.