aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets
diff options
context:
space:
mode:
authorAlexander Marsalek <amarsalek@iaik.tugraz.at>2021-06-11 15:36:58 +0200
committerAlexander Marsalek <amarsalek@iaik.tugraz.at>2021-06-11 17:10:21 +0200
commitfd72ba6f0bf8a797fcc5e340fc5a963aef35eaca (patch)
treecb2a07e12c484f7c7135d5172f2bd4f6d75cb096 /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets
parent1ac9bff462b00872b073985f25776d7fa8504057 (diff)
downloadpdf-as-4-fd72ba6f0bf8a797fcc5e340fc5a963aef35eaca.tar.gz
pdf-as-4-fd72ba6f0bf8a797fcc5e340fc5a963aef35eaca.tar.bz2
pdf-as-4-fd72ba6f0bf8a797fcc5e340fc5a963aef35eaca.zip
version 4.1.7-RC-0.0.7, added sbp parameter to ExternSignServlet
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.java7
1 files changed, 2 insertions, 5 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 841b8428..674d3351 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
@@ -350,12 +350,10 @@ public class ExternSignServlet extends HttpServlet {
PlaceholderWebConfiguration.clear();
}
-
} catch(Exception e) {
logger.error(e.getLocalizedMessage());
}
-
String filename = PdfAsParameterExtractor.getFilename(request);
if(filename != null) {
logger.debug("Setting Filename in session: " + filename);
@@ -367,9 +365,8 @@ public class ExternSignServlet extends HttpServlet {
PdfAsHelper.setSignatureDataHash(request, pdfDataHash);
logger.debug("Storing signatures data hash: " + pdfDataHash);
- //TODO alex parse??
- Map<String, String> dynamicSignatureBlockArguments = null;
-
+ Map<String, String> dynamicSignatureBlockArguments =
+ PdfAsParameterExtractor.getDynamicSignatureBlockParameters(request);
logger.debug("Starting signature creation with: " + connector);