aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-09-20 15:38:42 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-09-20 15:38:42 +0200
commitf67719e4bf5621e4ea72923c9355cc8f4bd7cec9 (patch)
treec45324940b29afd27d4274a4308958c05dfa7ddb /id/ConfigWebTool/src/main/java
parent8fb4871a5804974a0a391fe81e8668f8855b5b77 (diff)
downloadmoa-id-spss-f67719e4bf5621e4ea72923c9355cc8f4bd7cec9.tar.gz
moa-id-spss-f67719e4bf5621e4ea72923c9355cc8f4bd7cec9.tar.bz2
moa-id-spss-f67719e4bf5621e4ea72923c9355cc8f4bd7cec9.zip
fix bug in eIDAS LoA validation
Diffstat (limited to 'id/ConfigWebTool/src/main/java')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/oa/OASTORKConfigValidation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/oa/OASTORKConfigValidation.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/oa/OASTORKConfigValidation.java
index 6a03bf194..00ccdca8c 100644
--- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/oa/OASTORKConfigValidation.java
+++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/validation/oa/OASTORKConfigValidation.java
@@ -47,7 +47,7 @@ public class OASTORKConfigValidation {
// check qaa
String qaa = oageneral.getQaa();
- if (!MOAIDConstants.ALLOWED_eIDAS_LOA.contains(qaa)) {
+ if (MiscUtil.isNotEmpty(qaa) && !MOAIDConstants.ALLOWED_eIDAS_LOA.contains(qaa)) {
log.warn("eIDAS LoA is not allowed : " + qaa);
errors.add(LanguageHelper.getErrorString("validation.stork.qaa.outofrange",
new Object[] {qaa}, request ));