You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
This is not really an issue with this library as such, we just wanted to check how can this code be modified so that it uses NTLM authentication underneath.
We have set up a SQUID proxy server with Kerberos, but apparently, it always falls back to NTLM authentication when we route traffic to internet through it via a web browser. We concluded that looking at SQUID log files. Though we can potentially fix configuration issue, assuming there is one, we also wanted to make sure, we are able to write code for a proxy which solely uses NTLM authentication.
We tried modifying
Registry<AuthSchemeProvider> authSchemeRegistry =
RegistryBuilder.<AuthSchemeProvider>create().register(AuthSchemes.SPNEGO, new SPNegoSchemeFactory(true)).build();
TO
Registry<AuthSchemeProvider> authSchemeRegistry =
RegistryBuilder.<AuthSchemeProvider>create().register(AuthSchemes.NTLM, new NTLMSchemeFactory()).build();
but we get this error WARNING: Authentication scheme Negotiate not supported
We tried a lot of different things, but code always tried Kerberos authentication and then it fails with 407 Proxy Authentication needed error.
regards, Yogesh
The text was updated successfully, but these errors were encountered:
Hello,
This is not really an issue with this library as such, we just wanted to check how can this code be modified so that it uses NTLM authentication underneath.
We have set up a SQUID proxy server with Kerberos, but apparently, it always falls back to NTLM authentication when we route traffic to internet through it via a web browser. We concluded that looking at SQUID log files. Though we can potentially fix configuration issue, assuming there is one, we also wanted to make sure, we are able to write code for a proxy which solely uses NTLM authentication.
We tried modifying
TO
but we get this error
WARNING: Authentication scheme Negotiate not supported
We tried a lot of different things, but code always tried Kerberos authentication and then it fails with 407 Proxy Authentication needed error.
regards, Yogesh
The text was updated successfully, but these errors were encountered: