Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3
-
None
-
Moderate
Description
When a ProtectTokens assertion is used in an asymetric binding with X509 token, CXF does not sign the BST included in the message. It is likely that CXF also does not sign the proper parts if an issuer serial or key identifier is used instead.
The direct reference case is triggered by an issue in AsymetricBindingHandler lines 386-392. One cannot prepend the BST and then get its ID because WSS4J removes this info after the BST is prepended.
Changing the order of operations is one approach while working with the WSS4J signature builder's capabilities to sign the "Token" based on the mechanism by which the token is referenced may be a better approach.
Test case is pending.
Attachments
Attachments
Issue Links
- is related to
-
CXF-2656 WS-SP signed elements assertion cannot be applied to portions of the signature in outbound processing
- Closed