Skip to content

Commit

Permalink
CB-4528 Snowflake SSO auth (#2470)
Browse files Browse the repository at this point in the history
Co-authored-by: Daria Marutkina <[email protected]>
  • Loading branch information
alexander-skoblikov and dariamarutkina authored Mar 15, 2024
1 parent 25b895c commit e72b40f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public class WebSession extends BaseWebSession
private static final String ATTR_LOCALE = "locale";
private static final AtomicInteger TASK_ID = new AtomicInteger();

public static String RUNTIME_PARAM_AUTH_INFOS = "auth-infos";
private final AtomicInteger taskCount = new AtomicInteger();

private String lastRemoteAddr;
Expand Down Expand Up @@ -926,6 +927,7 @@ public boolean provideAuthParameters(
for (DBACredentialsProvider contextCredentialsProvider : getContextCredentialsProviders()) {
contextCredentialsProvider.provideAuthParameters(monitor, dataSourceContainer, configuration);
}
configuration.setRuntimeAttribute(RUNTIME_PARAM_AUTH_INFOS, getAllAuthInfo());

WebConnectionInfo webConnectionInfo = findWebConnectionInfo(dataSourceContainer.getId());
if (webConnectionInfo != null) {
Expand Down

0 comments on commit e72b40f

Please sign in to comment.