aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignParameters.java9
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/UIEntryPointServlet.java3
2 files changed, 11 insertions, 1 deletions
diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignParameters.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignParameters.java
index 8dfd4ab5..a309b251 100644
--- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignParameters.java
+++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignParameters.java
@@ -66,6 +66,7 @@ public class PDFASSignParameters implements Serializable {
String position;
String invokeUrl;
+ String invokeTarget;
String invokeErrorUrl;
String transactionId;
String profile;
@@ -103,6 +104,14 @@ public class PDFASSignParameters implements Serializable {
this.invokeUrl = invokeUrl;
}
+ @XmlElement(required = false, nillable = true, name="invoke-target")
+ public String getInvokeTarget() {
+ return invokeTarget;
+ }
+ public void setInvokeTarget(String invokeTarget) {
+ this.invokeTarget = invokeTarget;
+ }
+
@XmlElement(required = false, nillable = true, name="invoke-error-url")
public String getInvokeErrorURL() {
return invokeErrorUrl;
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 40a8d590..85ee1897 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
@@ -90,7 +90,8 @@ public class UIEntryPointServlet extends HttpServlet {
String invokeUrl = pdfAsRequest.getParameters().getInvokeURL();
PdfAsHelper.setInvokeURL(req, resp, invokeUrl);
- // TODO: Generate attribute for Invoke Target
+ String invokeTarget = pdfAsRequest.getParameters().getInvokeTarget();
+ PdfAsHelper.setInvokeTarget(req, resp, invokeTarget);
String errorUrl = pdfAsRequest.getParameters().getInvokeErrorURL();
PdfAsHelper.setErrorURL(req, resp, errorUrl);