aboutsummaryrefslogtreecommitdiff
path: root/modules/authmodule_id-austria/src
diff options
context:
space:
mode:
authorThomas <>2023-05-09 08:51:22 +0200
committerThomas <>2023-06-05 16:56:20 +0200
commita00043515f91042abe1388d160e64ea121d14293 (patch)
tree82e5bf18082b37baea8468cf78a604142139beb0 /modules/authmodule_id-austria/src
parentbab05a25aa94c1a4a0d181c515ad93b12dde3578 (diff)
downloadNational_eIDAS_Gateway-a00043515f91042abe1388d160e64ea121d14293.tar.gz
National_eIDAS_Gateway-a00043515f91042abe1388d160e64ea121d14293.tar.bz2
National_eIDAS_Gateway-a00043515f91042abe1388d160e64ea121d14293.zip
fix(proxy): add missing parameters into log msg for IDA metadata errors
Diffstat (limited to 'modules/authmodule_id-austria/src')
-rw-r--r--modules/authmodule_id-austria/src/main/java/at/asitplus/eidas/specific/modules/auth/idaustria/tasks/RequestIdAustriaSystemTask.java4
1 files changed, 2 insertions, 2 deletions
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) });
}