Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7631

Enhancement for xmlsecurity component (XML Signature): Configurable Signature Id

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.14.0
    • camel-xmlsecurity
    • 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)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            davsclaus Claus Ibsen
            forsthofer Franz Forsthofer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment