From c0ea288869c5c21d93c59702148305eefa3f1f51 Mon Sep 17 00:00:00 2001 From: pdanner Date: Mon, 13 Dec 2010 16:00:29 +0000 Subject: Minor changes to ease web -> pdf-as handling git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@706 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../src/main/java/at/gv/egiz/pdfas/web/helper/LocalRequestHelper.java | 2 +- .../src/main/java/at/gv/egiz/pdfas/web/helper/SignServletHelper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pdf-as-web') diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/LocalRequestHelper.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/LocalRequestHelper.java index 9717662..41a565f 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/LocalRequestHelper.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/LocalRequestHelper.java @@ -86,7 +86,7 @@ public abstract class LocalRequestHelper URL loc_ref_URL = new URL(WebUtils.buildRetrieveSignatureDataURL(request, response)); String loc_ref_url = response.encodeURL(loc_ref_URL.toString()); - String sign_request = pdfAsInternal.prepareLocalSignRequest(si.signParameters, loc_ref_url, si.sdi); + String sign_request = pdfAsInternal.prepareLocalSignRequest(si.signParameters, false, loc_ref_url, si.sdi); String local_request_url = pdfAsInternal.getLocalServiceAddress(si.type, si.connector); si.localRequest = new LocalRequest(local_request_url, sign_request); diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/SignServletHelper.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/SignServletHelper.java index 3f2ac6c..925df3a 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/SignServletHelper.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/SignServletHelper.java @@ -317,7 +317,7 @@ public class SignServletHelper ByteArrayDataSink data = new ByteArrayDataSink(); si.signParameters.setOutput(data); - SignResult signResult = pdfAsInternal.finishLocalSign(pdfAs, si.signParameters, si.sdi, si.localBKUParams, si.xmlResponse); + SignResult signResult = pdfAsInternal.finishLocalSign(pdfAs, si.signParameters, si.sdi, si.localBKUParams, false, si.xmlResponse); si.signResult = signResult; si.output = data; si.outputAvailable = true; -- cgit v1.2.3