/sp:SignedParts/sp:Header selects no elements if the Name attribute is
unspecified
----------------------------------------------------------------------------------
Key: RAMPART-124
URL: https://issues.apache.org/jira/browse/RAMPART-124
Project: Rampart
Issue Type: Bug
Components: rampart-policy
Affects Versions: 1.3
Reporter: Kent Tong
Fix For: 1.3
For the assertion below:
<sp:SignedParts>
<sp:Header Namespace="http://www.w3.org/2005/08/addressing"/>
</sp:SignedParts>
It will sign no elements (even though <wsa:To> and etc are present). The cause
may be that the generated code
in the client stub sets the Name attribute to an empty string when it should
have been left out:
....setPolicy(getPolicy("...<sp:Header Name=\"\"
Namespace=\"http://www.w3.org/2005/08/addressing\" />..."));
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.