wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Tomcat as windows service and NTLM autentication against webserviceshosted on IIS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat as windows service and NTLM autentication against webserviceshosted on IIS" Watch "Tomcat as windows service and NTLM autentication against webserviceshosted on IIS" New topic
Author

Tomcat as windows service and NTLM autentication against webserviceshosted on IIS

frantisek kocun
Greenhorn

Joined: Mar 31, 2011
Posts: 1
Hello,
I have application deployed on Tomcat 5.5. on Windows Server 2003 R2. From application we try to connect to webservices hosted on IIS 6.0 on the same machine. Our webservice client is JAX-WS with CXF implementation. Webservices are authorised by NTLM.

We have problem with HTTP authentication. It is authenticated by user under which Tomcat service runs not by the user which is speciefied in HTTP conduit setting in CXF. So the service account overrides setting in application. If we start user Tomcat service the account used for web services, it works.

If Tomcat runs standalone (not as a service), or if it runs on different machine the account from CXF setting is used.

If we configure IIS to Basic authentication account from CXF settings is used.

So the only non working scenario (when service user of Tomcat overrides CXF setting) is Tomcat as service on the same machine as IIS with NTLM authentication. But this is the configuraiton we need to get work.

Please help, it's getting me crazy for 3 days now..
 
GeeCON Prague 2014
 
subject: Tomcat as windows service and NTLM autentication against webserviceshosted on IIS