public class LibPQFactory extends WrappedFactory
Modifier and Type | Class and Description |
---|---|
static class |
LibPQFactory.ConsoleCallbackHandler
A CallbackHandler that reads the password from the console or returns the password given to its
constructor.
|
factory
Constructor and Description |
---|
LibPQFactory(Properties info) |
Modifier and Type | Method and Description |
---|---|
void |
throwKeyManagerException()
Propagates any exception from
LazyKeyManager . |
createSocket, createSocket, createSocket, createSocket, createSocket, getDefaultCipherSuites, getSupportedCipherSuites
createSocket, getDefault
createSocket
public LibPQFactory(Properties info) throws PSQLException
info
- the connection parameters The following parameters are used:
sslmode,sslcert,sslkey,sslrootcert,sslhostnameverifier,sslpasswordcallback,sslpasswordPSQLException
- if security error appears when initializing factorypublic void throwKeyManagerException() throws PSQLException
LazyKeyManager
.PSQLException
- if there is an exception to propagateCopyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.