diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/core/utils/ProxyUtils.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/core/utils/ProxyUtils.java index 0ca1c4325..b51caa11c 100644 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/core/utils/ProxyUtils.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/core/utils/ProxyUtils.java @@ -41,7 +41,7 @@ public static void setupProxy(ProxyConfig config, HttpClientBuilder builder) { proxyPort = Integer.parseInt(System.getProperty(protocol + ".proxyPort")); proxyUser = System.getProperty(protocol + ".proxyUser"); proxyPassword = System.getProperty(protocol + ".proxyPassword"); - proxyAuthType = ProxyConfig.ProxyAuthType.BASIC; + proxyAuthType = config.getProxyAuthType(); } // Override system properties if proxy configuration is explicitly set if (config.getHost() != null) {