You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Colm O hEigeartaigh (Closed) (JIRA)" <ji...@apache.org> on 2011/10/03 11:04:35 UTC

[jira] [Closed] (WSS-50) SAMLTokenSignedAction doesn't support the "signatureParts" parameter

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

Colm O hEigeartaigh closed WSS-50.
----------------------------------

    
> SAMLTokenSignedAction doesn't support  the "signatureParts" parameter
> ---------------------------------------------------------------------
>
>                 Key: WSS-50
>                 URL: https://issues.apache.org/jira/browse/WSS-50
>             Project: WSS4J
>          Issue Type: Bug
>            Reporter: Luciano Montebove
>            Assignee: Davanum Srinivas
>            Priority: Blocker
>         Attachments: SAMLTokenSignedAction.patch
>
>
> In the current version WSS4J 1.5.0 the "SAMLTokenSigned" action doesn't consider the "signatureParts" parameter so that it can sign only the body with this action.
> Looking at the code of SignatureAction and SAMLTokenSignedAction I discovered that the problem is the lack of these lines of code in SAMLTokenSignedAction.java
>  
>         if (reqData.getSignatureParts().size() > 0) {
>             wsSign.setParts(reqData.getSignatureParts());
> After adding this code all works as expected.
> Attached you can find the patch file SAMLTokenSignedAction.patch generated with SVN.
> Luciano

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org