[ https://issues.apache.org/jira/browse/CAMEL-9306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998511#comment-14998511 ]
Franz Forsthofer commented on CAMEL-9306: ----------------------------------------- Wiki page adapted. > XML Signature: Header "CamelXmlSignatureTransformMethods" for Transform > Methods > ------------------------------------------------------------------------------- > > Key: CAMEL-9306 > URL: https://issues.apache.org/jira/browse/CAMEL-9306 > Project: Camel > Issue Type: Improvement > Components: camel-xmlsecurity > Reporter: Franz Forsthofer > Assignee: Franz Forsthofer > Fix For: 2.17.0 > > > 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" -- This message was sent by Atlassian JIRA (v6.3.4#6332)