从Eclipse中删除NTLM [英] Removing NTLM from Eclipse's

查看:103
本文介绍了从Eclipse中删除NTLM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图通过Eclipse 3.6中的代理连接出现问题。该代理支持NTLM和Basic Auth方案。

I'm having an issue trying to connect through a proxy from Eclipse 3.6. The proxy supports both NTLM and Basic Auth schemes.

Eclipse似乎更喜欢NTLM身份验证方案,而不是基本的。但是,选择完成后,代理似乎挂起,Eclipse会永远重试下载。使用wireshark监控流量我可以看到:

Eclipse seems to prefer NTLM auth scheme, instead of the basic one. However, after the selection is done, the proxy seems to hang and Eclipse retries the downloads forever. Using wireshark to monitor the traffic I can see:


  • Eclipse正尝试通过NTLM认证

  • 代理发回407响应。

发生3次,然后代理停止响应,Eclipse重试下载,直到我取消。

This happens 3 times, then the proxy stops responding and Eclipse retries the download until I hit cancel.

有没有办法告诉Eclipse尝试基本认证而不是NTLM?

Is there a way to tell Eclipse to try Basic Auth instead of NTLM?

祝福,
Manuel。

Best regards, Manuel.

推荐答案

我不了解Basic Auth,但是关于NTLM代理,请查看 bug 281384 ,也在 bug 281472

I don't know about the Basic Auth, but regarding NTLM proxy, check the bug 281384, also discussed at length in bug 281472.

它引入了一个 NTLMv2代理的解决方法

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyPort=8080
-Dhttp.proxyHost=myproxy
-Dhttp.proxyUser=mydomain\myusername
-Dhttp.proxyPassword=mypassword
-Dhttp.nonProxyHosts=localhost|127.0.0.1




第一个属性禁用httpclient提供程序(因此使用基于 URLConnection 的提供程序,确实支持NTLMv2代理),

,接下来的5个属性由Sun为 URLConnection 提供者指定。

The first property disables the httpclient provider (and so uses the URLConnection-based provider, which does have support for NTLMv2 proxies),
and the next 5 properties are as specified by Sun for the URLConnection-based provider.

这篇关于从Eclipse中删除NTLM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆