Single sign-on using NTLM on the client?

I'm trying to figure out a way to let a java client application running on Windows to seamlessly connect to remote HTTP servers over a proxy server that uses NTLM. Most of the advice given on the list seems to be on enabling a server application to check the credentials given by other clients that support NTLM (IE, Firefox). How can I go the other way and use the existing Windows login credentials on the client to set up a NTLM connection without having to prompt the user for user/password? I've seen the Kerberos/JGSS tutorials that would let you do this in an AD environment with J2SE 5.0 but I'm after NTLM support. Has anyone worked on this before?

[667 byte] By [cagatayka] at [2007-10-1 22:20:57]
# 1

hi cagatayk,

I am facing a similar problem but i am not able to figure out the exact solution. If you have found any solution then it would be a great help if u could share.

I tried to do it as i have mentioned in the following link:

http://forum.java.sun.com/thread.jspa?threadID=681714

Your help will be deeply appriciated

Thanks in advance

pam

pamjoshuaa at 2007-7-13 8:34:58 > top of Java-index,Security,Other Security APIs, Tools, and Issues...
# 2
I too would love to here how this is done. The complete lack of information regarding NTLM Authentication is distressing.
Tosa_Developera at 2007-7-13 8:34:58 > top of Java-index,Security,Other Security APIs, Tools, and Issues...
# 3

As I know, JRE has supported HTTP connections with NTLM authentication on Windows platform out-of-box for a long time.

The latest version JRE 6 also supports NTLM on other platforms, plus the Microsoft-recommended Active Directory-based SPNEGO authentication (known as "Integrated Windows Authentication" in IIS).

Read http://java.sun.com/javase/6/docs/technotes/guides/net/http-auth.html for details.

wangwja at 2007-7-13 8:34:58 > top of Java-index,Security,Other Security APIs, Tools, and Issues...