From f67719e4bf5621e4ea72923c9355cc8f4bd7cec9 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 20 Sep 2016 15:38:42 +0200 Subject: fix bug in eIDAS LoA validation --- .../moa/id/configuration/validation/oa/OASTORKConfigValidation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'id/ConfigWebTool/src/main/java/at/gv/egovernment/moa') 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 )); -- cgit v1.2.3