From 8af293b80fb4a7930dfee4af5557036b3b47283b Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 3 May 2017 09:27:34 +0200 Subject: Log full MOA-SP signature-verification request into MOA-ID log if LogLevel is trace --- .../java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'id/server/modules') diff --git a/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java b/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java index 66161e508..9294f3658 100644 --- a/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java +++ b/id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java @@ -972,8 +972,9 @@ public class AuthenticationServer extends BaseAuthenticationServer { try { String xmlVerifyXMLSignatureResponse = DOMUtils .serializeNode(domVsresp, true); - Logger.trace(new LogMsg(xmlCreateXMLSignatureReadResponse)); - Logger.trace(new LogMsg(xmlVerifyXMLSignatureResponse)); + Logger.trace("Signature from BKU: " + new LogMsg(xmlCreateXMLSignatureReadResponse)); + Logger.trace("Signature verification request: " + new LogMsg(DOMUtils.serializeNode(domVsreq, true))); + Logger.trace("Signature verification result: " + new LogMsg(xmlVerifyXMLSignatureResponse)); } catch (Throwable t) { t.printStackTrace(); Logger.info(new LogMsg(t.getStackTrace())); -- cgit v1.2.3