aboutsummaryrefslogtreecommitdiff
path: root/modules/authmodule_id-austria/src/main
diff options
context:
space:
mode:
authorThomas <>2022-06-09 09:14:41 +0200
committerThomas <>2022-06-09 09:14:41 +0200
commit82d257815ebb07af811aeeba53e55d95602f7aea (patch)
treee7dcb130fb347f7c48c583648e283b1b587c30a2 /modules/authmodule_id-austria/src/main
parent901c99b39f7ecd80578b0146052efcbc2c3f8b3b (diff)
downloadNational_eIDAS_Gateway-82d257815ebb07af811aeeba53e55d95602f7aea.tar.gz
National_eIDAS_Gateway-82d257815ebb07af811aeeba53e55d95602f7aea.tar.bz2
National_eIDAS_Gateway-82d257815ebb07af811aeeba53e55d95602f7aea.zip
chore(eidas): update validation of minimum required attributes in case of IDA authentication and eIDAS Proxy-Service mode
Diffstat (limited to 'modules/authmodule_id-austria/src/main')
-rw-r--r--modules/authmodule_id-austria/src/main/java/at/asitplus/eidas/specific/modules/auth/idaustria/tasks/ReceiveFromIdAustriaSystemTask.java4
1 files changed, 1 insertions, 3 deletions
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 });