aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java/at/gv/egovernment
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-02-22 14:27:32 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-02-22 14:27:32 +0100
commitdd2be368cdceab6b02bf9a73b6db08a05be53e69 (patch)
tree5d3f0dcd0aee5094f83de7d10262dd7960bd9f08 /id/server/idserverlib/src/main/java/at/gv/egovernment
parent1415029cd821ddcc8a3375b5f5e1473747e0d2d7 (diff)
downloadmoa-id-spss-dd2be368cdceab6b02bf9a73b6db08a05be53e69.tar.gz
moa-id-spss-dd2be368cdceab6b02bf9a73b6db08a05be53e69.tar.bz2
moa-id-spss-dd2be368cdceab6b02bf9a73b6db08a05be53e69.zip
fix possible problem with federated assertion validation
Diffstat (limited to 'id/server/idserverlib/src/main/java/at/gv/egovernment')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/verification/SAMLVerificationEngine.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/verification/SAMLVerificationEngine.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/verification/SAMLVerificationEngine.java
index 812e27a36..bf9a61fe4 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/verification/SAMLVerificationEngine.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/protocols/pvp2x/verification/SAMLVerificationEngine.java
@@ -195,7 +195,7 @@ public class SAMLVerificationEngine {
}
}
- if (!isValidDestination) {
+ if (!isValidDestination && validateDestination) {
Logger.warn("PVP 2.1 assertion destination does not match to IDP URL");
throw new AssertionValidationExeption("PVP 2.1 assertion destination does not match to IDP URL", null);