public class PGPropertyPasswordParser extends Object
| Modifier and Type | Method and Description |
|---|---|
static @Nullable String |
getPassword(@Nullable String hostname,
@Nullable String port,
@Nullable String database,
@Nullable String user)
Read .pgpass resource
|
public static @Nullable String getPassword(@Nullable String hostname, @Nullable String port, @Nullable String database, @Nullable String user)
hostname - hostname or *port - port or *database - database or *user - username or *Copyright © 1997-2022 PostgreSQL Global Development Group. All Rights Reserved.