summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2014-12-12 13:54:18 +0100
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2014-12-12 13:54:18 +0100
commit778707efcd48b17c75a2e0f58b937d4d1db43c3e (patch)
tree12d3922d0f55a52e00d3a7d28221b8369c9e7e83 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile
parent6e191bfa1051d5eacd02b722028f09f347e91415 (diff)
downloadpdf-over-778707efcd48b17c75a2e0f58b937d4d1db43c3e.tar.gz
pdf-over-778707efcd48b17c75a2e0f58b937d4d1db43c3e.tar.bz2
pdf-over-778707efcd48b17c75a2e0f58b937d4d1db43c3e.zip
Logging - trace requests/responses
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java2
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHandler.java2
2 files changed, 3 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java
index 3af0bd1d..f19c19bb 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java
@@ -120,6 +120,7 @@ public class ATrustHandler extends MobileBKUHandler {
if (responseData.contains("signature.aspx?sid=")) { //$NON-NLS-1$
// credentials ok! TAN entry
+ log.debug("Credentials accepted - TAN required"); //$NON-NLS-1$
sessionID = MobileBKUHelper.extractTag(responseData, "signature.aspx?sid=", "\""); //$NON-NLS-1$ //$NON-NLS-2$
viewState = MobileBKUHelper.extractTag(responseData, "id=\"__VIEWSTATE\" value=\"", "\""); //$NON-NLS-1$ //$NON-NLS-2$
eventValidation = MobileBKUHelper.extractTag(responseData, "id=\"__EVENTVALIDATION\" value=\"", "\""); //$NON-NLS-1$ //$NON-NLS-2$
@@ -128,6 +129,7 @@ public class ATrustHandler extends MobileBKUHandler {
MobileBKUHelper.extractTag(responseData, "ShowSigobj.aspx", "'"); //$NON-NLS-1$//$NON-NLS-2$
} else if (responseData.contains("sl:InfoboxReadResponse")) { //$NON-NLS-1$
// credentials ok! InfoboxReadResponse
+ log.debug("Credentials accepted - Response given"); //$NON-NLS-1$
getSigningState().setSignatureResponse(
new SLResponse(responseData, getStatus().getServer(), null, null));
return;
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHandler.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHandler.java
index 3f2f83ee..4644002e 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHandler.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/MobileBKUHandler.java
@@ -96,7 +96,7 @@ public abstract class MobileBKUHandler {
sl_request = request.getRequest();
post.addParameter("XMLRequest", sl_request); //$NON-NLS-1$
}
- //log.debug("SL Request: " + sl_request); //$NON-NLS-1$
+ log.trace("SL Request: " + sl_request); //$NON-NLS-1$
getState().getStatus().setBaseURL(
MobileBKUHelper.stripQueryString(mobileBKUUrl));