aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-08-19 12:00:27 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-08-19 12:00:27 +0000
commit8a1527b8c48e6b1f75471c54a70c192f6ad4e2eb (patch)
treed6d77e2cc5847ab1fe67d4a99e44b801f9195e45
parent7a3037d57159bb8cf1349cb99a2c4d2963d13559 (diff)
downloadmoa-id-spss-8a1527b8c48e6b1f75471c54a70c192f6ad4e2eb.tar.gz
moa-id-spss-8a1527b8c48e6b1f75471c54a70c192f6ad4e2eb.tar.bz2
moa-id-spss-8a1527b8c48e6b1f75471c54a70c192f6ad4e2eb.zip
Korrektur des Elementnamens XMLDSIG auf XMLDSig
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@455 d688527b-c9ab-4aba-bd8d-4036d912da1d
-rw-r--r--spss.server/res/test/resources/config/moa.spss.complete-config.xml4
-rw-r--r--spss.server/res/test/resources/config/moa.ss.noopts-config.xml2
-rw-r--r--spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java4
3 files changed, 5 insertions, 5 deletions
diff --git a/spss.server/res/test/resources/config/moa.spss.complete-config.xml b/spss.server/res/test/resources/config/moa.spss.complete-config.xml
index ce0c47a94..e6d164610 100644
--- a/spss.server/res/test/resources/config/moa.spss.complete-config.xml
+++ b/spss.server/res/test/resources/config/moa.spss.complete-config.xml
@@ -78,10 +78,10 @@
<KeyGroupId>KG1_Id</KeyGroupId>
<KeyGroupId>KG2_Id</KeyGroupId>
</KeyGroupMapping>
- <XMLDSIG>
+ <XMLDSig>
<CanonicalizationAlgorithm>http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments</CanonicalizationAlgorithm>
<DigestMethodAlgorithm>http://www.w3.org/2000/09/xmldsig#sha1</DigestMethodAlgorithm>
- </XMLDSIG>
+ </XMLDSig>
<CreateTransformsInfoProfile>
<Id>CTIP_1</Id>
<Location>profiles/ctip/CTIP_1.xml</Location>
diff --git a/spss.server/res/test/resources/config/moa.ss.noopts-config.xml b/spss.server/res/test/resources/config/moa.ss.noopts-config.xml
index af910ee3c..8ffe2b02b 100644
--- a/spss.server/res/test/resources/config/moa.ss.noopts-config.xml
+++ b/spss.server/res/test/resources/config/moa.ss.noopts-config.xml
@@ -26,6 +26,6 @@
</CustomerId>
<KeyGroupId>KG1_Id</KeyGroupId>
</KeyGroupMapping>
- <XMLDSIG></XMLDSIG>
+ <XMLDSig></XMLDSig>
</SignatureCreation>
</MOAConfiguration>
diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java
index 9ce9da48c..b37c83209 100644
--- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java
+++ b/spss.server/src/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java
@@ -69,11 +69,11 @@ public class ConfigurationPartsBuilder {
private static final String DIGEST_METHOD_XPATH =
ROOT + CONF + "SignatureCreation/"
- + CONF + "XMLDSIG/"
+ + CONF + "XMLDSig/"
+ CONF + "DigestMethodAlgorithm";
private static final String C14N_ALGORITHM_XPATH =
ROOT + CONF + "SignatureCreation/"
- + CONF + "XMLDSIG/"
+ + CONF + "XMLDSig/"
+ CONF + "CanonicalizationAlgorithm";
private static final String HARDWARE_CRYPTO_MODULE_XPATH =
ROOT + CONF + "HardwareCryptoModule";