summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:41:27 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:41:27 +0000
commit7c4b5b31f1e0c7366ecc4c869b64d535817c0630 (patch)
tree327aece328c33ca70476fc4997490ee82919cb89 /pdf-over-gui/src/main/java/at/asit
parent48eecbe82981c081f8eeecb6fdc78657a29d359c (diff)
downloadpdf-over-7c4b5b31f1e0c7366ecc4c869b64d535817c0630.tar.gz
pdf-over-7c4b5b31f1e0c7366ecc4c869b64d535817c0630.tar.bz2
pdf-over-7c4b5b31f1e0c7366ecc4c869b64d535817c0630.zip
Changed local BKU communication to BASE64 encoding
(Asign Client has not released the fix for BASE64 encoding yet) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@450 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java10
1 files changed, 5 insertions, 5 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 68dd60bb..54c24abc 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
@@ -84,8 +84,8 @@ public class LocalBKUState extends State {
SLRequest request = this.state.signingState
.getSignatureRequest();
- //String sl_request = request.getBase64Request();
- String sl_request = request.getFileUploadRequest();
+ String sl_request = request.getBase64Request();
+ //String sl_request = request.getFileUploadRequest();
HttpClient client = new HttpClient();
@@ -95,17 +95,17 @@ public class LocalBKUState extends State {
StringPart xmlpart = new StringPart(
"XMLRequest", sl_request, "UTF-8"); //$NON-NLS-1$ //$NON-NLS-2$
- FilePart filepart = new FilePart("fileupload", //$NON-NLS-1$
+ /*FilePart filepart = new FilePart("fileupload", //$NON-NLS-1$
new FileUploadSource(request.getSignatureData()));
Part[] parts = { xmlpart, filepart };
method.setRequestEntity(new MultipartRequestEntity(parts, method
- .getParams()));
+ .getParams()));*/
//log.debug("SL REQUEST: " + sl_request); //$NON-NLS-1$
- //method.addParameter("XMLRequest", sl_request); //$NON-NLS-1$
+ method.addParameter("XMLRequest", sl_request); //$NON-NLS-1$
int returnCode = client.executeMethod(method);