aboutsummaryrefslogtreecommitdiff
path: root/id/server/modules/moa-id-modul-citizencard_authentication/src
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2017-05-03 09:27:34 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2017-05-09 16:07:33 +0200
commit81dda2c2bbfdb4a5b2fe1a9ac8e6bcb1e2aac928 (patch)
tree4a53ab278ba7c5dbbc3295a95dcf9b16e3de7e14 /id/server/modules/moa-id-modul-citizencard_authentication/src
parentd69ba86f0855097e46e525794075f3c743e7facb (diff)
downloadmoa-id-spss-81dda2c2bbfdb4a5b2fe1a9ac8e6bcb1e2aac928.tar.gz
moa-id-spss-81dda2c2bbfdb4a5b2fe1a9ac8e6bcb1e2aac928.tar.bz2
moa-id-spss-81dda2c2bbfdb4a5b2fe1a9ac8e6bcb1e2aac928.zip
Log full MOA-SP signature-verification request into MOA-ID log if LogLevel is trace
Diffstat (limited to 'id/server/modules/moa-id-modul-citizencard_authentication/src')
-rw-r--r--id/server/modules/moa-id-modul-citizencard_authentication/src/main/java/at/gv/egovernment/moa/id/auth/AuthenticationServer.java5
1 files changed, 3 insertions, 2 deletions
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()));