Updated Branches: refs/heads/master 54ce5a02e -> ca403331d
CAMEL-6339 Added the ASL headers Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ca403331 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ca403331 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ca403331 Branch: refs/heads/master Commit: ca403331d9fe4092b9908f1c6bf1cd8e7a30be84 Parents: 54ce5a0 Author: Willem Jiang <ningji...@apache.org> Authored: Tue Aug 27 22:18:06 2013 +0800 Committer: Willem Jiang <ningji...@apache.org> Committed: Tue Aug 27 22:18:06 2013 +0800 ---------------------------------------------------------------------- .../component/xmlsecurity/ExampleDetached.xml | 19 ++++++++++++++++++- .../xmlsecurity/ExampleEnvelopedXmlSig.xml | 19 ++++++++++++++++++- .../xmlsecurity/ExampleEnvelopingDigSig.xml | 19 ++++++++++++++++++- ...pingDigSigWithSeveralElementsWithNameRoot.xml | 19 ++++++++++++++++++- .../xmlsecurity/ManifestTest_TamperedContent.xml | 19 ++++++++++++++++++- .../xmlsecurity/SpringXmlSignatureTests.xml | 16 ++++++++++++++++ .../camel/component/xmlsecurity/xslt_test.xsl | 16 ++++++++++++++++ 7 files changed, 122 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/ca403331/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleDetached.xml ---------------------------------------------------------------------- diff --git a/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleDetached.xml b/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleDetached.xml index bcbaa6f..36f0c0e 100644 --- a/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleDetached.xml +++ b/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleDetached.xml @@ -1,4 +1,21 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/><Reference URI="testFile.txt"><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>LVzTET7OaeWAL3PmLnCAJ6xERYs=</DigestValue></Reference></SignedInfo><SignatureValue>lOEIqMmufeQjUmzfGBsiYkMTKlxSAUwyaXoFjHjNuNPvjltR9gj85Q==</SignatureValue><KeyInfo><KeyValue><DSAKeyValue><P>/KaCzo4Syrom78z3EQ5SbbB4sF7ey80etKII864WF64B81uRpH5t9jQTxeEu0ImbzRMqzVDZkVG9 +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/><Reference URI="testFile.txt"><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>LVzTET7OaeWAL3PmLnCAJ6xERYs=</DigestValue></Reference></SignedInfo><SignatureValue>lOEIqMmufeQjUmzfGBsiYkMTKlxSAUwyaXoFjHjNuNPvjltR9gj85Q==</SignatureValue><KeyInfo><KeyValue><DSAKeyValue><P>/KaCzo4Syrom78z3EQ5SbbB4sF7ey80etKII864WF64B81uRpH5t9jQTxeEu0ImbzRMqzVDZkVG9 xD7nN1kuFw==</P><Q>li7dzDacuo67Jg7mtqEm2TRuOMU=</Q><G>Z4Rxsnqc9E7pGknFFH2xqaryRPBaQ01khpMdLRQnG541Awtx/XPaF5Bpsy4pNWMOHCBiNU0Nogps QW5QvnlMpA==</G><Y>mrGw6dac5y83egi3d9B9mUhaUMptjO2IyechEfR7D7tNItjZwALPTRwXPfSdqaMhLq4E4okSYmqf pDIB5xlH5A==</Y></DSAKeyValue></KeyValue></KeyInfo></Signature> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/ca403331/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopedXmlSig.xml ---------------------------------------------------------------------- diff --git a/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopedXmlSig.xml b/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopedXmlSig.xml index 7803c43..64c0fa5 100644 --- a/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopedXmlSig.xml +++ b/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopedXmlSig.xml @@ -1,4 +1,21 @@ -<?xml version="1.0" encoding="UTF-8"?><root xmlns="http://test/test"><test>Test Message</test><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>/dePBrnNR3mx6DKdsDFN2H4UarQ=</DigestValue></Reference></SignedInfo><SignatureValue>PGhKJFsDUeJkSl/kBto/4FTyWctPTIud8DWpAK1MYrdm2tW+5CIGzg==</SignatureValue><KeyInfo><KeyValue><DSAKeyValue><P>/KaCzo4Syrom78z3EQ5SbbB4sF7ey80etKII864WF64B81uRpH5t9jQTxeEu0ImbzRMqzVDZkVG9 +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<root xmlns="http://test/test"><test>Test Message</test><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>/dePBrnNR3mx6DKdsDFN2H4UarQ=</DigestValue></Reference></SignedInfo><SignatureValue>PGhKJFsDUeJkSl/kBto/4FTyWctPTIud8DWpAK1MYrdm2tW+5CIGzg==</SignatureValue><KeyInfo><KeyValue><DSAKeyValue><P>/KaCzo4Syrom78z3EQ5SbbB4sF7ey80etKII864WF64B81uRpH5t9jQTxeEu0ImbzRMqzVDZkVG9 xD7nN1kuFw==</P><Q>li7dzDacuo67Jg7mtqEm2TRuOMU=</Q><G>Z4Rxsnqc9E7pGknFFH2xqaryRPBaQ01khpMdLRQnG541Awtx/XPaF5Bpsy4pNWMOHCBiNU0Nogps QW5QvnlMpA==</G><Y>VU3zFibvvHpAjBU//q9/Acqlrvk0z004XeokckhCRQbzndMPXwqBZiRzidAJ1rH7VWmzjgoYCXgo S75Mz34Kzg==</Y></DSAKeyValue></KeyValue></KeyInfo></Signature></root> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/ca403331/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopingDigSig.xml ---------------------------------------------------------------------- diff --git a/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopingDigSig.xml b/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopingDigSig.xml index 9d4a2f4..704b036 100644 --- a/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopingDigSig.xml +++ b/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopingDigSig.xml @@ -1,4 +1,21 @@ -<?xml version="1.0" encoding="UTF-8"?><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/><Reference URI="#object"><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>7/XTsHaBSOnJ/jXD5v0zL6VKYsk=</DigestValue></Reference></SignedInfo><SignatureValue>lEVp+uRAR76ljIWOLLmRHCCg1yJEhkSbmrz7p4g7uKqGBqeDOxKyqA==</SignatureValue><KeyInfo><KeyValue><DSAKeyValue><P>/KaCzo4Syrom78z3EQ5SbbB4sF7ey80etKII864WF64B81uRpH5t9jQTxeEu0ImbzRMqzVDZkVG9 +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/><Reference URI="#object"><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>7/XTsHaBSOnJ/jXD5v0zL6VKYsk=</DigestValue></Reference></SignedInfo><SignatureValue>lEVp+uRAR76ljIWOLLmRHCCg1yJEhkSbmrz7p4g7uKqGBqeDOxKyqA==</SignatureValue><KeyInfo><KeyValue><DSAKeyValue><P>/KaCzo4Syrom78z3EQ5SbbB4sF7ey80etKII864WF64B81uRpH5t9jQTxeEu0ImbzRMqzVDZkVG9 xD7nN1kuFw==</P><Q>li7dzDacuo67Jg7mtqEm2TRuOMU=</Q><G>Z4Rxsnqc9E7pGknFFH2xqaryRPBaQ01khpMdLRQnG541Awtx/XPaF5Bpsy4pNWMOHCBiNU0Nogps QW5QvnlMpA==</G><Y>JogaxQp8IZaKJecuVRYb1m7/fse2Q6zoM+Bt6E/kG6X5AE273DzLEbvcPXt67MFyz7uvYlHEf+M5 eD83vjhlpA==</Y></DSAKeyValue></KeyValue></KeyInfo><Object Id="object">some text</Object></Signature> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/ca403331/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopingDigSigWithSeveralElementsWithNameRoot.xml ---------------------------------------------------------------------- diff --git a/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopingDigSigWithSeveralElementsWithNameRoot.xml b/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopingDigSigWithSeveralElementsWithNameRoot.xml index 565333f..851e7d6 100644 --- a/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopingDigSigWithSeveralElementsWithNameRoot.xml +++ b/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ExampleEnvelopingDigSigWithSeveralElementsWithNameRoot.xml @@ -1,4 +1,21 @@ -<?xml version="1.0" encoding="UTF-8"?><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/><Reference URI="#object"><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>Fi9k4CFY/3aj+9IiKjC2Q4yEFEU=</DigestValue></Reference></SignedInfo><SignatureValue>Pq8jDzMW1bUVnITLGJaE9y9t5CqV1bMdL9k26iIxsQAtjrCMRWSZvw==</SignatureValue><KeyInfo><KeyValue><DSAKeyValue><P>/KaCzo4Syrom78z3EQ5SbbB4sF7ey80etKII864WF64B81uRpH5t9jQTxeEu0ImbzRMqzVDZkVG9 +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/><Reference URI="#object"><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>Fi9k4CFY/3aj+9IiKjC2Q4yEFEU=</DigestValue></Reference></SignedInfo><SignatureValue>Pq8jDzMW1bUVnITLGJaE9y9t5CqV1bMdL9k26iIxsQAtjrCMRWSZvw==</SignatureValue><KeyInfo><KeyValue><DSAKeyValue><P>/KaCzo4Syrom78z3EQ5SbbB4sF7ey80etKII864WF64B81uRpH5t9jQTxeEu0ImbzRMqzVDZkVG9 xD7nN1kuFw==</P><Q>li7dzDacuo67Jg7mtqEm2TRuOMU=</Q><G>Z4Rxsnqc9E7pGknFFH2xqaryRPBaQ01khpMdLRQnG541Awtx/XPaF5Bpsy4pNWMOHCBiNU0Nogps QW5QvnlMpA==</G><Y>8iwyFDURB8kQ1f+8wNEHXbRs9LqgBd8hGC4azGfaHfYnDnGf74jzrG+UVVe68ETKWmuX7tpkzC0y bgjaNIp8KQ==</Y></DSAKeyValue></KeyValue></KeyInfo><Object Id="object"><superroot xmlns="http://test/test" Id="superroot_id"><root Id="root1_id"><test Id="test_id">Test Message</test></root><root Id="root2_id">second root</root></superroot></Object></Signature> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/ca403331/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ManifestTest_TamperedContent.xml ---------------------------------------------------------------------- diff --git a/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ManifestTest_TamperedContent.xml b/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ManifestTest_TamperedContent.xml index 77bf7d2..62216d1 100644 --- a/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ManifestTest_TamperedContent.xml +++ b/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/ManifestTest_TamperedContent.xml @@ -1,4 +1,21 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/><Reference URI="#myManifest"><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>Dn1qUwuTxEEY+mvIETwPpCzTSao=</DigestValue></Reference></SignedInfo><SignatureValue>Z8BjjJ1lVpd58a2pNafQVIVTIP4blaSdbqDnClB/TK8QMj93XY+ZdQ==</SignatureValue><KeyInfo><KeyValue><DSAKeyValue><P>/KaCzo4Syrom78z3EQ5SbbB4sF7ey80etKII864WF64B81uRpH5t9jQTxeEu0ImbzRMqzVDZkVG9 +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/><Reference URI="#myManifest"><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>Dn1qUwuTxEEY+mvIETwPpCzTSao=</DigestValue></Reference></SignedInfo><SignatureValue>Z8BjjJ1lVpd58a2pNafQVIVTIP4blaSdbqDnClB/TK8QMj93XY+ZdQ==</SignatureValue><KeyInfo><KeyValue><DSAKeyValue><P>/KaCzo4Syrom78z3EQ5SbbB4sF7ey80etKII864WF64B81uRpH5t9jQTxeEu0ImbzRMqzVDZkVG9 xD7nN1kuFw==</P><Q>li7dzDacuo67Jg7mtqEm2TRuOMU=</Q><G>Z4Rxsnqc9E7pGknFFH2xqaryRPBaQ01khpMdLRQnG541Awtx/XPaF5Bpsy4pNWMOHCBiNU0Nogps QW5QvnlMpA==</G><Y>BtnkfZ+4ME+oz7cJTKHpwJErRQ7NkAJO0K4fO+sCzr/KO2TKbG1Jg69aZuuEnxtPIEV0HkDJkKu4 N7vcAKk0yw==</Y></DSAKeyValue></KeyValue></KeyInfo><Object><Manifest Id="myManifest"><Reference URI="#content"><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>ABSEE2Q8T96qN9OIEvPyNaLx6kk=</DigestValue></Reference></Manifest></Object><Object Id="content">some text tampered</Object></Signature> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/ca403331/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/SpringXmlSignatureTests.xml ---------------------------------------------------------------------- diff --git a/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/SpringXmlSignatureTests.xml b/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/SpringXmlSignatureTests.xml index bc0a6d1..13eb958 100644 --- a/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/SpringXmlSignatureTests.xml +++ b/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/SpringXmlSignatureTests.xml @@ -1,4 +1,20 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://git-wip-us.apache.org/repos/asf/camel/blob/ca403331/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/xslt_test.xsl ---------------------------------------------------------------------- diff --git a/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/xslt_test.xsl b/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/xslt_test.xsl index 6220480..0ceb992 100644 --- a/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/xslt_test.xsl +++ b/components/camel-xmlsecurity/src/test/resources/org/apache/camel/component/xmlsecurity/xslt_test.xsl @@ -1,4 +1,20 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/">