On 12/28/06, Mykel Alvis <[EMAIL PROTECTED]> wrote:
  [EMAIL PROTECTED] ~]$ java -cp . debugISA
  Server: Proxy-Authenticate: NTLM
  Server: Proxy-Authenticate: BASIC realm="User"

The only difference between yours and mine is 'realm="User"' and my
maven 2.0.4 works on linux against a firewall using basic. Perhaps you
are not providing the realm so maven tries another mechanism in this
case ntlm.

If it is trying ntlm, I think you have to use atleast java 1.5.

I definitely know I can do BASIC auth out of the proxy, because that's how
it works with Firefox, etc as well as the way the wget works above.

Firefox also does ntlm.

The
real question appears to be why can't I seem to get it to work with maven
using the same settings that work for BASIC auth in my settings.xml or maybe
even in java properties?

Here is a great tool to debug firewall issues: http://portswigger.net/proxy/
With this you can SEE what is actually going on.
You can even intercept messages and change them....

Are there other settings to try, or maybe a variant method for specifying
BASIC auth explicitly?


Like I said before, my company removed basic, so it is forcing me to do NTLM.

To work around this I plan to write a proxy-proxy.....
I will create a java program that will negotiate NTLM with the companies proxy.
Then I should be able to change my proxy settings to point to the java
program and everything should work. Perhaps this could work for you as
well.
This will require java 1.5 as well.


-Steve More

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to