summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-03-05 17:10:55 +0100
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-03-05 17:10:55 +0100
commit2f2529076a2bf119c5870362b06d3f9c5ea1663f (patch)
treecd80364f7c25a8e3d4d8cc93509f8a2f2ec7cd95 /pdf-over-gui/src/main/java
parent624f7eea13303746c6d4171101e6e48a14d936bd (diff)
downloadpdf-over-2f2529076a2bf119c5870362b06d3f9c5ea1663f.tar.gz
pdf-over-2f2529076a2bf119c5870362b06d3f9c5ea1663f.tar.bz2
pdf-over-2f2529076a2bf119c5870362b06d3f9c5ea1663f.zip
Use BASE64 upload for a.sign BKU for now
Diffstat (limited to 'pdf-over-gui/src/main/java')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java
index dd47fe9d..eaccae5d 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java
@@ -123,7 +123,7 @@ public class LocalBKUState extends State {
if (server == null)
server = ""; //$NON-NLS-1$
else
- if (server.contains("trustDeskbasic")) //$NON-NLS-1$
+ if (server.contains("trustDeskbasic") || server.contains("asignSecurityLayer")) //$NON-NLS-1$ //$NON-NLS-2$
LocalBKUState.this.useBase64Request = true;
userAgent = getResponseHeader(method, BKU_RESPONSE_HEADER_USERAGENT);
@@ -131,6 +131,8 @@ public class LocalBKUState extends State {
userAgent = ""; //$NON-NLS-1$
String signatureLayout = getResponseHeader(method, BKU_RESPONSE_HEADER_SIGNATURE_LAYOUT);
+ log.debug("Server - UA: " + server + " - " + userAgent); //$NON-NLS-1$ //$NON-NLS-2$
+
String response = method.getResponseBodyAsString();
log.debug("SL Response: " + response); //$NON-NLS-1$
SLResponse slResponse = new SLResponse(response, server,