aspose file tools*
The moose likes Web Services and the fly likes SAAJ (Web Service Client) and Integrated windows Authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "SAAJ (Web Service Client) and Integrated windows Authentication" Watch "SAAJ (Web Service Client) and Integrated windows Authentication" New topic
Author

SAAJ (Web Service Client) and Integrated windows Authentication

Syed Saulat Rizvi
Greenhorn

Joined: May 05, 2005
Posts: 5
Hello
I have build a web service client using SAAJ, the Web services is deployed on MS IIS. Every thing seems to work fine, The problem appears when I apply directory security on the Web Service Directory. When I apply Basic authentication SAAJ manages to send the user name and password and it goes fine, but when I apply Integrated Windows Authentication, I always get a response Access is Denied.
I know we can authenticate the user credentials from NTLM from JAAS but here I am using a web services client.
My Question is How can we pass the user credentials through a web service client to the IIS when the directory security is Windows Integrated Authentication?
Any work around or the solution will be appreciated.
Thanks :-)
Syed Saulat
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: SAAJ (Web Service Client) and Integrated windows Authentication