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.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) LazyKeyManager |
km |
factory| Constructor and Description |
|---|
LibPQFactory(java.util.Properties info) |
| Modifier and Type | Method and Description |
|---|---|
void |
throwKeyManagerException()
Propagates any exception from
LazyKeyManager. |
createSocket, createSocket, createSocket, createSocket, createSocket, getDefaultCipherSuites, getSupportedCipherSuitesLazyKeyManager km
public LibPQFactory(java.util.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 propagate