Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch Available
-
Unknown
Description
The current xmlsecurity component for XML Signature creates a unique identifier for the Id attribute of the signature element. The XML Signature specification defines this attribute as optional. However, some verifier processors in third party infrastructures do not allow that the Signature element has the Id attribute. Therefore we make the Id attribute configurable (see the attached patch).
The patch also contains a minor typo correction (getXpathToIdAttributes ->getXpathsToIdAttributes) which was introduced with https://issues.apache.org/jira/i#browse/CAMEL-7618
and the parameter schemaResourceUri can now contain an empty string (code robustness increased)