GoogleCloudDataproc/spark-bigquery-connector

HTTP PROXY Support NTCredentials

dfercode opened this issue · 3 comments

only support usernamepasswordCredentials for http proxy, need to support microsoft NTCredentials
at BigqueryProxyTransporterBuilder.createHttpTransportFactory

line 95

We are bound by the API of HttpConnectProxiedSocketAddress.Builder which does not support NTCredentials. Can you please share more about your use case?

We are bound by the API of HttpConnectProxiedSocketAddress.Builder which does not support NTCredentials. Can you please share more about your use case?

our proxy server only support NTCredentials to pass Authcations, we need to build a generic way to support Username, NT, Kerberos Poxy Auth.

for our code we just need to replace usernamepasswordCredentials(user,pass) by NTCredentials(user,pass,null, region)