mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-327 Save credentials flag in ConnectionInfo
This commit is contained in:
@@ -188,6 +188,7 @@ type ConnectionInfo {
|
||||
connected: Boolean!
|
||||
provided: Boolean!
|
||||
readOnly: Boolean!
|
||||
saveCredentials: Boolean!
|
||||
|
||||
connectTime: String
|
||||
connectionError: ServerError
|
||||
|
||||
@@ -135,6 +135,11 @@ public class WebConnectionInfo {
|
||||
return dataSourceContainer.isConnectionReadOnly();
|
||||
}
|
||||
|
||||
@Property
|
||||
public boolean isSaveCredentials() {
|
||||
return dataSourceContainer.isSavePassword();
|
||||
}
|
||||
|
||||
@Property
|
||||
public String getConnectTime() {
|
||||
return CBConstants.ISO_DATE_FORMAT.format(dataSourceContainer.getConnectTime());
|
||||
|
||||
Reference in New Issue
Block a user