aboutsummaryrefslogtreecommitdiff
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-03 09:27:34 +0200
commit8af293b80fb4a7930dfee4af5557036b3b47283b (patch)
treed476b03c258339b2bb9ddc1330eea1658be9d7d7
parent01f2f5f984e393c028cd1bbd82b149e269b16cca (diff)
downloadmoa-id-spss-8af293b80fb4a7930dfee4af5557036b3b47283b.tar.gz
moa-id-spss-8af293b80fb4a7930dfee4af5557036b3b47283b.tar.bz2
moa-id-spss-8af293b80fb4a7930dfee4af5557036b3b47283b.zip
Log full MOA-SP signature-verification request into MOA-ID log if LogLevel is trace
-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()));