aboutsummaryrefslogtreecommitdiff
path: root/id/server
diff options
context:
space:
mode:
authorAlexander Marsalek <amarsalek@iaik.tugraz.at>2014-06-10 11:03:41 +0200
committerAlexander Marsalek <amarsalek@iaik.tugraz.at>2014-06-10 11:03:41 +0200
commitc1ee833c415bcce3d7173f0beec0c1ffcd6c6529 (patch)
treed5ace84aa38610f4aa6e98143b4c097342fd4288 /id/server
parentdccc8304cbe2b10ddb703fa52895dbc09dd70643 (diff)
downloadmoa-id-spss-c1ee833c415bcce3d7173f0beec0c1ffcd6c6529.tar.gz
moa-id-spss-c1ee833c415bcce3d7173f0beec0c1ffcd6c6529.tar.bz2
moa-id-spss-c1ee833c415bcce3d7173f0beec0c1ffcd6c6529.zip
excluded axis from document service, activated signature check
Diffstat (limited to 'id/server')
-rw-r--r--id/server/idserverlib/pom.xml6
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/validator/VerifyXMLSignatureResponseValidator.java4
2 files changed, 8 insertions, 2 deletions
diff --git a/id/server/idserverlib/pom.xml b/id/server/idserverlib/pom.xml
index acb1073f2..9bca6e0b6 100644
--- a/id/server/idserverlib/pom.xml
+++ b/id/server/idserverlib/pom.xml
@@ -293,6 +293,12 @@
<artifactId>DocumentService</artifactId>
<version>0.0.1-SNAPSHOT</version>
<classifier>classes</classifier>
+ <exclusions>
+ <exclusion>
+ <artifactId>axis</artifactId>
+ <groupId>org.apache.axis</groupId>
+ </exclusion>
+ </exclusions>
</dependency>
</dependencies>
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/validator/VerifyXMLSignatureResponseValidator.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/validator/VerifyXMLSignatureResponseValidator.java
index 00089735f..4fd7fa965 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/validator/VerifyXMLSignatureResponseValidator.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/validator/VerifyXMLSignatureResponseValidator.java
@@ -130,8 +130,8 @@ public class VerifyXMLSignatureResponseValidator {
// TEST CARDS
if (whatToCheck.equals(CHECK_IDENTITY_LINK))
throw new ValidateException("validator.07", new Object[] { checkFailedReason } );
-// else
-// throw new ValidateException("validator.19", new Object[] { checkFailedReason } );
+ else
+ throw new ValidateException("validator.19", new Object[] { checkFailedReason } );
}
//check QC