From a00043515f91042abe1388d160e64ea121d14293 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Tue, 9 May 2023 08:51:22 +0200 Subject: fix(proxy): add missing parameters into log msg for IDA metadata errors --- .../modules/auth/idaustria/tasks/RequestIdAustriaSystemTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 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/RequestIdAustriaSystemTask.java b/modules/authmodule_id-austria/src/main/java/at/asitplus/eidas/specific/modules/auth/idaustria/tasks/RequestIdAustriaSystemTask.java index 6d589b68..0d271fa1 100644 --- a/modules/authmodule_id-austria/src/main/java/at/asitplus/eidas/specific/modules/auth/idaustria/tasks/RequestIdAustriaSystemTask.java +++ b/modules/authmodule_id-austria/src/main/java/at/asitplus/eidas/specific/modules/auth/idaustria/tasks/RequestIdAustriaSystemTask.java @@ -54,7 +54,7 @@ public class RequestIdAustriaSystemTask extends AbstractAuthServletTask { private static final String ERROR_PVP_13 = "sp.pvp2.13"; private static final String ERROR_MSG_1 = - "Requested 'ms-specific eIDAS node' {0} has no valid metadata or metadata is not found"; + "IDA System {0} has no valid metadata or metadata is not found"; private static final String ERROR_MSG_4 = "Build PVP2.1 AuthnRequest to connect 'ms-specific eIDAS node' FAILED."; @@ -84,7 +84,7 @@ public class RequestIdAustriaSystemTask extends AbstractAuthServletTask { final EntityDescriptor entityDesc = metadataService.getEntityDescriptor(idAustriaEntityID); if (entityDesc == null) { throw new EaafConfigurationException(IdAustriaAuthConstants.ERRORTYPE_05, - new Object[] { MessageFormat.format(ERROR_MSG_1, idAustriaEntityID) }); + new Object[] { idAustriaEntityID, MessageFormat.format(ERROR_MSG_1, idAustriaEntityID) }); } -- cgit v1.2.3