Bug 1312064

Summary: [GSS](6.4.z) HTTP Server used for management doesn't support non-ascii characters in BASIC authentication
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Bartek Spyrko-Smietanko <bspyrkos>
Component: Domain ManagementAssignee: Bartek Spyrko-Smietanko <bspyrkos>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Simka <msimka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.7CC: bmaxwell, brian.stansberry, cdewolf, dandread, dtikhomi, fgavrilo, ihradek, jtruhlar
Target Milestone: CR1   
Target Release: EAP 6.4.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 12:59:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1270708, 1312069, 1339868    

Description Bartek Spyrko-Smietanko 2016-02-25 16:22:05 UTC
Description of problem:
When using a password like 'test123!ü' different browsers generate the BASIC credentials string using different encodings resulting in failed authentication.
This causes issues when using management console with LDAP.

Same issue in Undertow: https://issues.jboss.org/browse/UNDERTOW-595 fixed in https://github.com/spyrkob/undertow/commit/98fe959a4f4cde414c36b268734e22421f170460

Note this issue is to track fixes in httpserver component. The changes to EAP code will be tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1270708

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Set up LDAP authentication with user admin identified by 'test123!ü'
2. In Firefox go to http://localhost:9990 and try to authenticate
3.

Actual results:
Authentication refused

Expected results:
Authentication successful

Additional info:

Comment 1 Bartek Spyrko-Smietanko 2016-02-25 16:29:11 UTC
Wrong link - undertow fix: https://github.com/undertow-io/undertow/commit/98fe959a4f4cde414c36b268734e22421f170460

Comment 2 Bartek Spyrko-Smietanko 2016-02-25 16:29:28 UTC
PR: https://github.com/jbossas/httpserver/pull/5

Comment 4 Mike McCune 2016-03-28 22:21:53 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 5 Ivo Hradek 2016-08-29 09:02:37 UTC
Verified with EAP 6.4.10.CP.CR2;

--
Note: For browsers that use ISO-8859-1, like Firefox [1], the fix won't work for characters outside of ISO-8859-1 (chinese, japanase, russian etc.).

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=41489

Comment 6 Petr Penicka 2017-01-17 12:59:44 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.