From 82d257815ebb07af811aeeba53e55d95602f7aea Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Thu, 9 Jun 2022 09:14:41 +0200 Subject: chore(eidas): update validation of minimum required attributes in case of IDA authentication and eIDAS Proxy-Service mode --- .../modules/auth/idaustria/tasks/ReceiveFromIdAustriaSystemTask.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/authmodule_id-austria/src/main') diff --git a/modules/authmodule_id-austria/src/main/java/at/asitplus/eidas/specific/modules/auth/idaustria/tasks/ReceiveFromIdAustriaSystemTask.java b/modules/authmodule_id-austria/src/main/java/at/asitplus/eidas/specific/modules/auth/idaustria/tasks/ReceiveFromIdAustriaSystemTask.java index 17e0e0d5..4dc3ffdd 100644 --- a/modules/authmodule_id-austria/src/main/java/at/asitplus/eidas/specific/modules/auth/idaustria/tasks/ReceiveFromIdAustriaSystemTask.java +++ b/modules/authmodule_id-austria/src/main/java/at/asitplus/eidas/specific/modules/auth/idaustria/tasks/ReceiveFromIdAustriaSystemTask.java @@ -214,9 +214,7 @@ public class ReceiveFromIdAustriaSystemTask extends AbstractAuthServletTask { IdAustriaAuthConstants.DEFAULT_REQUIRED_PVP_ATTRIBUTE_NAMES; try { // check if all attributes are include - if (!extractor.containsAllRequiredAttributes() - || !extractor.containsAllRequiredAttributes( - requiredEidasNodeAttributes)) { + if (!extractor.containsAllRequiredAttributes(requiredEidasNodeAttributes)) { log.warn("PVP Response from 'ID Austria System' contains not all requested attributes."); throw new AssertionValidationExeption(ERROR_PVP_06, new Object[] { IdAustriaAuthConstants.MODULE_NAME_FOR_LOGGING }); -- cgit v1.2.3