SAMLTokenSignedAction doesn't support  the "signatureParts" parameter
---------------------------------------------------------------------

                 Key: WSS-50
                 URL: http://issues.apache.org/jira/browse/WSS-50
             Project: WSS4J
          Issue Type: Bug
            Reporter: Luciano Montebove
         Assigned To: Davanum Srinivas
            Priority: Blocker


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 contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to