aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper
diff options
context:
space:
mode:
authoremusic <emina.music@egiz.gv.at>2018-03-21 17:56:48 +0100
committeremusic <emina.music@egiz.gv.at>2018-03-21 17:56:48 +0100
commit08911a1b4f7bc825841f99053cf98af795e506f2 (patch)
tree423df348b6b257ae433c08009e0762b82b0c9a0f /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper
parentad3722eeda59cb2bcffa205f6ad8fbb37cf55504 (diff)
downloadpdf-as-4-08911a1b4f7bc825841f99053cf98af795e506f2.tar.gz
pdf-as-4-08911a1b4f7bc825841f99053cf98af795e506f2.tar.bz2
pdf-as-4-08911a1b4f7bc825841f99053cf98af795e506f2.zip
enabled placeholder serach for pdf-as web
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsParameterExtractor.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsParameterExtractor.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsParameterExtractor.java
index 29b7eb21..ee41a8cf 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsParameterExtractor.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsParameterExtractor.java
@@ -29,6 +29,7 @@ import java.util.Map;
import javax.servlet.http.HttpServletRequest;
+import at.gv.egiz.pdfas.lib.api.IConfigurationConstants;
import at.gv.egiz.pdfas.lib.api.verify.VerifyParameter.SignatureVerificationLevel;
public class PdfAsParameterExtractor {
@@ -71,7 +72,6 @@ public class PdfAsParameterExtractor {
public static final String PARAM_PREPROCESSOR_PREFIX = "pp:";
public static final String PARAM_OVERWRITE_PREFIX = "ov:";
public static final String PARAM_QRCODE_CONTENT = "qrcontent";
- public static final String PARAM_PLACEHOLDERID = "placeholder_id";
@@ -89,8 +89,7 @@ public class PdfAsParameterExtractor {
}
public static String getPlaceholderId(HttpServletRequest request) {
- String placeholderId = (String)request.getAttribute(PARAM_PLACEHOLDERID);
- return placeholderId;
+ return (String)request.getAttribute(IConfigurationConstants.PLACEHOLDER_WEB_ID);
}
public static String getTransactionId(HttpServletRequest request) {