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

XML Signature: Header "CamelXmlSignatureTransformMethods" for Transform Methods

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.17.0
    • Component/s: camel-xmlsecurity
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      In the XML Signature component you can define transform methods which are applied to the XML document before the signature is calculated (see configuration option "transformMethods" in the XML Signer). The definition of these transform methods is done either via POs in the java DSL or via beans in the Spring XML a list of such transformations.

      We want to offer also the possiblity that you can specify the transformations via the header "CamelXmlSignatureTransformMethods". The header value shall contain a comma separated list of transformation algorithms. The header approach will not allow parameters for the transformation methods. However the header approach is more simpler then the approach via POs or beans.

      The header overwrites the configuration option "transformMethods".

      Example for Header Value:
      "http://www.w3.org/2000/09/xmldsig#enveloped-signature,http://www.w3.org/TR/2001/REC-xml-c14n-20010315"

        Attachments

          Activity

            People

            • Assignee:
              forsthofer Franz Forsthofer
              Reporter:
              forsthofer Franz Forsthofer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: