web service client needs to pass a Windows security token for authentication
posted 6 years ago
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)