aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-06-05 15:02:09 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-06-05 15:02:09 +0200
commit370af0e71a27a9e0a3970d1eabe83dabc4d1a1a9 (patch)
tree3a8f1a8669079f9650437b4aa3bd1c58eaa87220 /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets
parent6ea2c1db26260c1f36e01c58fc6f8ef0220e577e (diff)
downloadpdf-as-4-370af0e71a27a9e0a3970d1eabe83dabc4d1a1a9.tar.gz
pdf-as-4-370af0e71a27a9e0a3970d1eabe83dabc4d1a1a9.tar.bz2
pdf-as-4-370af0e71a27a9e0a3970d1eabe83dabc4d1a1a9.zip
fixed Position String for SOAP service
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java3
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/UIEntryPointServlet.java3
2 files changed, 4 insertions, 2 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java
index a7d82c3e..70535573 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/ExternSignServlet.java
@@ -280,7 +280,8 @@ public class ExternSignServlet extends HttpServlet {
}
}
- PdfAsHelper.startSignature(request, response, getServletContext(), pdfData, connector, transactionId);
+ PdfAsHelper.startSignature(request, response, getServletContext(), pdfData, connector,
+ PdfAsHelper.buildPosString(request, response), transactionId);
} else if (connector.equals("jks") || connector.equals("moa")) {
// start synchronous siganture creation
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/UIEntryPointServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/UIEntryPointServlet.java
index 3aad5abb..25b2b4c0 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/UIEntryPointServlet.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/UIEntryPointServlet.java
@@ -103,7 +103,8 @@ public class UIEntryPointServlet extends HttpServlet {
}
PdfAsHelper.startSignature(req, resp, getServletContext(), pdfAsRequest.getInputData(),
- connector.toString(), pdfAsRequest.getParameters().getTransactionId());
+ connector.toString(), pdfAsRequest.getParameters().getPosition(),
+ pdfAsRequest.getParameters().getTransactionId());
} else {
throw new PdfAsWebException("Invalid connector (" + Connector.BKU + " | " + Connector.ONLINEBKU + " | " + Connector.MOBILEBKU + ")");
}