| Summary: | WSSecurityInfoExtractor gets confused over SOAP header element named 'UserName' | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 4 | Reporter: | Kevin Conner <kevin.conner> |
| Component: | JBossESB | Assignee: | Kevin Conner <kevin.conner> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.3 CP01 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.3 CP02 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/SOA-1488 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-09-21 14:08:02 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: | |
|
Description
Kevin Conner
2009-09-11 14:30:00 UTC
Link: Added: This issue depends JBESB-2816 This issue refers to the existence of UserName elements within the SOAP message, as they were being processed regardless of whether they were the correct element (location or namespace). The example used in the issue is the following <?xml version="1.0"?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Header> <RequestHeader xmlns="..."> <UserName>johndoe</UserName> <HostName>xx123</HostName> <Timestamp>2009-09-09T07:22:04.706Z</Timestamp> </RequestHeader> </S:Header> <S:Body> ... <S:Body> <S:Envelope> Where johndoe was being populated in error. Verified in CR4 added to 4.3.CP02 release notes as resolved: JBESB-2816 SOAP messages that contained a <UserName> element in addition to the <UserName> child element of <UserNameToken> could fail to be delivered. This was due to WSSecurityInfoExtractor not verifying the location and namespace of the <UserName> element. WSSecurityInfoExtractor now only uses the <UserName> element contained in <UserNameToken> for obtaining this WS-Security field. |