Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 531844

Summary: C++ broker should use userid@domain when authenticating messages.
Product: Red Hat Enterprise MRG Reporter: Rajith Attapattu <rattapat+nobody>
Component: qpid-javaAssignee: messaging-bugs <messaging-bugs>
Status: CLOSED DUPLICATE QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 1.1.7CC: gsim
Target Milestone: 1.3   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-30 10:42:46 UTC Type: ---
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: 531842    
Bug Blocks:    

Description Rajith Attapattu 2009-10-29 16:24:32 UTC
Description of problem:
The c++ broker currently strips the domain from the user id when authenticating messages. This is to accommodate the java client issue defined in 531842

Once that is fixed the c++ broker should take the domain into account when authenticating messages. If a message contains a user id without a domain, the broker should use the realm as the default domain.

How reproducible:
Always

Steps to Reproduce:
1. If a client sets the user id as user@domain the c++ broker will fail the message authentication check.
  
Actual results:
Message authentication fail

Expected results:
If no domain is specified the broker should use realm as the default domain.
If a domain is specified it should use that as part of the check instead of stripping it.

Additional info:

Comment 1 Gordon Sim 2009-10-30 10:42:46 UTC

*** This bug has been marked as a duplicate of bug 519505 ***