[ 
https://issues.apache.org/jira/browse/CAMEL-6339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13745984#comment-13745984
 ] 

Franz Forsthofer commented on CAMEL-6339:
-----------------------------------------

Hi Colm,

the implementation allows to specify different JSR 105 providers. By default 
the JDK provider is used. We made tests in an OSGi environment. Where we used 
the XML dataformat encryptor which is using the santuario provider in 
combination with the XML signer component whith the JDK provider. We found out 
that this is not possible, because of two reasons:
1. The santuario implementation contains also the JSR105 API classes (Therefore 
we run into class loading problems). Therefore we filed 
https://issues.apache.org/jira/browse/SANTUARIO-358
2. But even when we solved problem 1. There is still an other problem. The JDK 
implementation itself does not support two different JSR 105 implementors 
running in the same JVM.

To conclude, I think it may make sense also to restrict the XML signer 
componant to santuario.

Regards Franz
                
> XML Signature Component in camel/components/xmlsecurity
> -------------------------------------------------------
>
>                 Key: CAMEL-6339
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6339
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Franz Forsthofer
>             Fix For: 2.12.0
>
>         Attachments: CamelComponentXmlsecurity.html, 
> CamelComponentXmlsecurityImproved.html, ExampleDetached.xml, 
> ExampleEnvelopedXmlSig.xml, ExampleEnvelopingDigSigTampered.xml, 
> ExampleEnvelopingDigSigWithSeveralElementsWithNameRoot.xml, 
> ExampleEnvelopingDigSig.xml, keystore.jks, ManifestTest_TamperedContent.xml, 
> patch_file_improved2.txt, patch_file_improved.txt, patch_file.txt, 
> SpringXmlSignatureTests.xml, XmlSignatureComponentDocumentation.md, 
> xslt_test.xsl, xslt_test.xsl
>
>
> Hello, 
> I have created a component for XML signature. I put it into the component 
> xmlsecurity. The component has the name xmlsecurity. In the attachments you 
> will find path_file.txt and CamelComponentxmlsecurity.html. The html file 
> contains a description of the endpoint uris.
> Regards Franz
> ---------------------
> Franz Forsthofer
> SAP AG
> e-mail: [email protected]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to