Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2.10, 2.3
-
None
Description
When using manual configuration of WSS4J on the client outbound interceptor chain, the resulting message contains extraneous Id attributes on the signed XML Encryption elements. The signature is computed using a different attribute value than that reported by the encryption results from WSS4J on the server side.
For instance, the following signed element is referenced in different ways:
<xenc:EncryptedData xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="EncDataId-659" Type="http://www.w3.org/2001/04/xmlenc#Element" wsu:Id="id-663">
Signature: <ds:Reference URI="#id-663">
Encryption: <xenc:DataReference URI="#EncDataId-659" />
The extra ID invalidates the XML Encryption schema and troubles the logic that determines signed encrypted content.
Attachments
Issue Links
- is related to
-
WSS-242 Signing EncryptedData or EncryptedKey elements creates extraneous Id attributes
- Closed