Hello David,

> I'm using HTTP client inside a swing app and the NTLM works great... the
> problem I have is that I need to ask for the credentials to the user
> instead
> of getting then from the Windows OS as clients like miranda, or mozilla
> does.
> 
> Does anybody kwons how to do this.?

There is no way to do it. No way that is platform independent at all, and
no way for the Windows platform specifically that does not require rewriting
the whole NTLM authentication code. If you don't believe me, feel free
to analyze the JDK code for the Windows platform. They don't get the user
and password. They only get a hash, which is then used somewhere deep in
the NTLM authentication protocol. And getting the hash of course relies on
some native code.

cheers,
  Roland

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

Reply via email to