diff options
author | Thomas <> | 2024-01-30 07:18:10 +0100 |
---|---|---|
committer | Thomas <> | 2024-01-30 07:18:10 +0100 |
commit | 2f89e46e31661a688b9372a7586f8d64afcf0df4 (patch) | |
tree | 37a631710bec1b533f9ca1e36e5771643f1c930f /modules/eidas_proxy-sevice/src/main/java/at/asitplus | |
parent | 4014eb5784c3638eeaa30fe806eda5971d4da522 (diff) | |
download | National_eIDAS_Gateway-2f89e46e31661a688b9372a7586f8d64afcf0df4.tar.gz National_eIDAS_Gateway-2f89e46e31661a688b9372a7586f8d64afcf0df4.tar.bz2 National_eIDAS_Gateway-2f89e46e31661a688b9372a7586f8d64afcf0df4.zip |
chore(core): add some more logging improve session-linking between eIDAS-Node and MS-specific parts
Diffstat (limited to 'modules/eidas_proxy-sevice/src/main/java/at/asitplus')
2 files changed, 6 insertions, 3 deletions
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; |