Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Tomcat as windows service and NTLM autentication against webserviceshosted on IIS

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
    Bookmark Topic Watch Topic
  • New Topic