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

XML Signature: Header "CamelXmlSignatureTransformMethods" for Transform Methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.17.0
    • camel-xmlsecurity
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: