| Package | Description |
|---|---|
| org.postgresql.core.v3 | |
| org.postgresql.plugin |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
AuthenticationPluginManager.withEncodedPassword(AuthenticationRequestType type,
java.util.Properties info,
AuthenticationPluginManager.PasswordAction<byte[],T> action)
Helper that wraps
AuthenticationPluginManager.withPassword(AuthenticationRequestType, Properties, PasswordAction), checks that it is not-null, and encodes
it as a byte array. |
static <T> T |
AuthenticationPluginManager.withPassword(AuthenticationRequestType type,
java.util.Properties info,
AuthenticationPluginManager.PasswordAction<char[],T> action)
If a password is requested by the server during connection initiation, this
method will be invoked to supply the password.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationRequestType |
AuthenticationRequestType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationRequestType[] |
AuthenticationRequestType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
char[] |
AuthenticationPlugin.getPassword(AuthenticationRequestType type)
Callback method to provide the password to use for authentication.
|