Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,11 @@ public DBPEventListener getDataSourceConnectListener() {
return connectListener;
}

@NotNull
public String getClientOrigin() {
return clientOrigin;
}

public void updateClientOrigin(@NotNull String originFromRequest) {
this.clientOrigin = originFromRequest;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,12 +383,6 @@ private synchronized void writeRuntimeConfig(Path runtimeConfigPath, Map<String,
}
}


public synchronized void updateServerUrl(@NotNull SMCredentialsProvider credentialsProvider,
@Nullable String newPublicUrl) throws DBException {
getServerConfiguration().setServerURL(newPublicUrl);
}

protected Map<String, Object> collectConfigurationProperties(
@NotNull CBServerConfig serverConfig,
@NotNull CBAppConfig appConfig
Expand Down
Loading