From 2f89e46e31661a688b9372a7586f8d64afcf0df4 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Tue, 30 Jan 2024 07:18:10 +0100 Subject: chore(core): add some more logging improve session-linking between eIDAS-Node and MS-specific parts --- .../msproxyservice/protocol/EidasProxyServiceController.java | 6 ++++-- .../msproxyservice/protocol/ProxyServiceAuthenticationAction.java | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'modules/eidas_proxy-sevice') diff --git a/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/EidasProxyServiceController.java b/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/EidasProxyServiceController.java index 886c7025..189f48cf 100644 --- a/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/EidasProxyServiceController.java +++ b/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/EidasProxyServiceController.java @@ -133,8 +133,10 @@ public class EidasProxyServiceController extends AbstractController implements I } - log.debug("Received eIDAS auth. request from: {}, Initializing authentication environment ... ", - eidasRequest.getSpCountryCode() != null ? eidasRequest.getSpCountryCode() : "'missing SP-country'"); + log.info( + "Received eIDAS auth. request from: {} with Id:{}, Initializing authentication environment ... ", + eidasRequest.getSpCountryCode() != null ? eidasRequest.getSpCountryCode() : "'missing SP-country'", + eidasRequest.getId()); log.trace("Received eIDAS requst: {}", eidasRequest); // create pendingRequest object diff --git a/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java b/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java index df8da81c..24eb2191 100644 --- a/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java +++ b/modules/eidas_proxy-sevice/src/main/java/at/asitplus/eidas/specific/modules/msproxyservice/protocol/ProxyServiceAuthenticationAction.java @@ -119,7 +119,8 @@ public class ProxyServiceAuthenticationAction implements IAction { logProvidedAttributes(eidasResp); forwardToEidasProxy(pendingReq, httpReq, httpResp, eidasResp); - revisionsLogger.logEvent(pendingReq, MsEventCodes.EIDAS_OUTGOING_RESPOND); + log.info("Authentication finished. Responde to EidasNode with Id:{}", eidasResp.getId()); + revisionsLogger.logEvent(pendingReq, MsEventCodes.EIDAS_OUTGOING_RESPOND, eidasResp.getId()); return sloInformation; -- cgit v1.2.3