Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369242

Summary: JAX-WS BASIC Authentication fails on tomcat
Product: z_Archived Reporter: Daniel Wiehl <daniel.wiehl>
Component: ScoutAssignee: Daniel Wiehl <daniel.wiehl>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Daniel Wiehl CLA 2012-01-20 09:48:41 EST
Basic authentication of webservice providers does not work on tomcat. That is because tomcat converts all the HTTP header names to lower case. According to RFC 2616, this conversion is  eligible as header names are case-insensitive. On Jetty, basic authentication mechanism works fine as header-names are untouched. Because Scout JAX-WS RT handles header-names in a case-sensitive way the authentication fails.
Comment 1 Daniel Wiehl CLA 2012-01-20 09:55:44 EST
20.01.2012 dwi
Bugzilla: 369242
Problem: Basic authentication of webservice providers does not work on tomcat. That is because tomcat converts all the HTTP header names to lower case. According to RFC 2616, this conversion is  eligible as header names are case-insensitive. On Jetty, basic authentication mechanism works fine as header-names are untouched. Because Scout JAX-WS RT handles header-names in a case-sensitive way the authentication fails.
Solution: Fixed 'BasicAuthenticationHandler' to treat header names case-insensitive.
Migration: None
Comment 2 Matthias Zimmermann CLA 2012-07-09 06:50:09 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)