From e78155a5d3959cd481761e3e5d3c680e96a4b372 Mon Sep 17 00:00:00 2001 From: Sergei Kovalchuk <32031248+serjiokov@users.noreply.github.com> Date: Mon, 18 Mar 2024 12:21:53 +0100 Subject: [PATCH] Dbeaver/pro#2552 [TE] deleted profiles appear again after app launch (#2429) * dbeaver/pro#2552 [TE] deleted profiles appear again after app launch Api fixed for store entire list of profiles * dbeaver/pro#2552 [TE] deleted profiles appear again after app launch Remove un used import * dbeaver/pro#2552 [TE] deleted profiles appear again after app launch Fixed api * dbeaver/pro#2552 [TE] deleted profiles appear again after app launch --------- Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com> --- .../src/io/cloudbeaver/WebDataSourceRegistryProxy.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/WebDataSourceRegistryProxy.java b/server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/WebDataSourceRegistryProxy.java index e34f972294..e867cc6351 100644 --- a/server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/WebDataSourceRegistryProxy.java +++ b/server/bundles/io.cloudbeaver.model/src/io/cloudbeaver/WebDataSourceRegistryProxy.java @@ -255,7 +255,12 @@ public void updateAuthProfile(@NotNull DBAAuthProfile profile) { } @Override - public void removeAuthProfile(@NotNull DBAAuthProfile profile) { + public void setAuthProfiles(@NotNull Collection profiles) { + dataSourceRegistry.setAuthProfiles(profiles); + } + + @Override + public void removeAuthProfile(DBAAuthProfile profile) { dataSourceRegistry.removeAuthProfile(profile); }