Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369242 - JAX-WS BASIC Authentication fails on tomcat
Summary: JAX-WS BASIC Authentication fails on tomcat
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Daniel Wiehl CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-20 09:48 EST by Daniel Wiehl CLA
Modified: 2021-08-19 10:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)