Bug 902156
Summary: | EBWS on CXF fails to handle WS-Security header with soap:mustUnderstand="1" | |||
---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Tadayoshi Sato <tasato> | |
Component: | JBossESB | Assignee: | Tadayoshi Sato <tasato> | |
Status: | CLOSED UPSTREAM | QA Contact: | ||
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 5.3.0 GA | CC: | soa-p-jira | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 947862 (view as bug list) | Environment: | ||
Last Closed: | 2025-02-10 03:27:19 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: | 915386, 947862 |
Description
Tadayoshi Sato
2013-01-21 03:42:33 UTC
Magesh Bojan <mageshbk> updated the status of jira JBESB-3898 to Resolved Magesh Bojan <mageshbk> made a comment on jira JBESB-3898 Trunk At revision: 38280 Tadayoshi, please backport Magesh's fix into the 4.11 codebase. Thank you, Rick Committed at rev. 38289 to JBESB_4_11_CP2 branch. Tom Cunningham <tcunning> updated the status of jira JBESB-3898 to Closed Tom Cunningham <tcunning> updated the status of jira JBESB-3906 to Closed Tadayoshi Sato <tadayosi> made a comment on jira JBESB-3898 For the record, the namespace {{xmlns:wsse="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd"}} turned out to be incorrect for WS-Security 1.0 and 1.1. The correct namespace is {{xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"}}. So the correct SOAP request have to be: {code:xml} <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:say="http://www.jboss.org/sayHi" xmlns:cust="http://www.jboss.org/custom-request" xmlns:sub="http://www.jboss.org/custom-subtype" xmlns:t="http://www.jboss.org/type2"> <soap:Header> <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken> <wsse:Username>kermit</wsse:Username> <wsse:Password>thefrog</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soap:Header> <soap:Body> ... </soap:Body> </soap:Envelope> {code} Tadayoshi Sato <tadayosi> made a comment on jira JBESB-3898 Another note for the record. In order to enable WS-Security with this fix, you need the global {{<war-security>}} configuration at the beginning of {{jboss-esb.xml}} as follows: {code:xml} <jbossesb ...> <globals> <war-security domain="JBossWS" /> </globals> {code} This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |