You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Nandana Mihindukulasooriya (JIRA)" <ji...@apache.org> on 2008/02/11 16:52:08 UTC

[jira] Resolved: (RAMPART-124) /sp:SignedParts/sp:Header selects no elements if the Name attribute is unspecified

     [ https://issues.apache.org/jira/browse/RAMPART-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nandana Mihindukulasooriya resolved RAMPART-124.
------------------------------------------------

    Resolution: Fixed

Fixed in the trunk.

> /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
>            Assignee: Nandana Mihindukulasooriya
>             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.