mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
@@ -33,6 +33,6 @@ public class WebSecretInfo {
|
||||
|
||||
@Property
|
||||
public String getSecretId() {
|
||||
return secretValue.getSubjectId();
|
||||
return secretValue.getUniqueId();
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -338,7 +338,7 @@ public class WebServiceCore implements DBWServiceCore {
|
||||
}
|
||||
DBSSecretValue selectedSecret =
|
||||
allSecrets.stream()
|
||||
.filter(secret -> selectedSecretId.equals(secret.getSubjectId()))
|
||||
.filter(secret -> selectedSecretId.equals(secret.getUniqueId()))
|
||||
.findFirst().orElse(null);
|
||||
if (selectedSecret == null) {
|
||||
throw new DBWebException("Secret not found:" + selectedSecretId);
|
||||
|
||||
Reference in New Issue
Block a user