Bug 1007233

Summary: The HttpMessageComposer sets status 502 in case of any error
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Pavel Drozd <pdrozd>
Component: SwitchYardAssignee: Magesh Kumar Bojan <mbojan>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Drozd <pdrozd>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: aileenc, kbabo, mbojan, pdrozd, soa-p-jira, tcunning
Target Milestone: ER7   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
reproducer none

Description Pavel Drozd 2013-09-12 07:39:17 UTC
Description of problem:
The switchayrd services with Basic authentication and http binding returns response code 502 when incorrect password/username is provided. 

The expected response code is 500.

Comment 1 Keith Babo 2013-09-16 12:56:28 UTC
Can you share an app to reproduce this issue?  HTTP authentication should delegate to the underlying JBoss Web container.

Comment 2 Pavel Drozd 2013-09-17 06:39:42 UTC
Created attachment 798620 [details]
reproducer

Send request with authorization header (role guest) to:

http://${server.host}:8080/performance-binding-http-secured-basic/CustomService/sayHello

Comment 3 JBoss JIRA Server 2013-10-24 20:53:10 UTC
Keith Babo <kbabo> made a comment on jira SWITCHYARD-1766

pushed

Comment 4 Pavel Drozd 2013-12-17 06:56:22 UTC
Verified on FSW 600ER7

Comment 5 JBoss JIRA Server 2014-06-16 23:47:53 UTC
Keith Babo <kbabo> updated the status of jira SWITCHYARD-1766 to Closed