This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm writing a client which accesses an IIS web service. The client is on a Windows machine. I have to authenticate with the web service using integrated authentication. I am told that when a user logs onto a Windows machine, a security token is created. In addition, this token should be passed to the IIS web service to authenticate the client. This authentication does not need the client's userId and password.
Does anyone know how the java client code can be written to obtain this token and use it to authenticate with the web service?
If this can't be done in java, is there a library I can use through jni?
(I have used the HttpClient from Apache and got that working using the digest authentication mechanism. For this I needed userid and password. My new requirement is to not use the userid/password)