File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs 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 » Other JSE/JEE APIs
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
James Carman
Ranch Hand

Joined: Feb 20, 2001
Posts: 580
Please do not cross-post your questions in multiple forums.


James Carman, President<br />Carman Consulting, Inc.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SAAJ (Web Service Client) and Integrated windows Authentication