diff --git a/server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/model/app/VoidSecretController.java b/server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/model/app/VoidSecretController.java index e267f9e098..f3fa170639 100644 --- a/server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/model/app/VoidSecretController.java +++ b/server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/model/app/VoidSecretController.java @@ -21,8 +21,13 @@ import org.jkiss.dbeaver.DBException; import org.jkiss.dbeaver.model.auth.SMCredentialsProvider; import org.jkiss.dbeaver.model.auth.SMSessionContext; +import org.jkiss.dbeaver.model.exec.DBCFeatureNotSupportedException; import org.jkiss.dbeaver.model.secret.DBSSecretController; import org.jkiss.dbeaver.model.secret.DBSSecretControllerAuthorized; +import org.jkiss.dbeaver.model.secret.DBSSecretObject; +import org.jkiss.dbeaver.model.secret.DBSSecretValue; + +import java.util.List; /** * Void secret controller. @@ -46,6 +51,12 @@ public void setPrivateSecretValue(@NotNull String secretId, @Nullable String sec throw new DBException("Secret controller is read-only"); } + @NotNull + @Override + public List discoverCurrentUserSecrets(@NotNull DBSSecretObject secretObject) throws DBException { + throw new DBCFeatureNotSupportedException("Secrets discovery not supported"); + } + @Override public void flushChanges() { }