From 0dc3dfacb8c8f5bbe4dff667a62dcfc879e06367 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Fri, 20 Mar 2015 14:23:49 +0100 Subject: Allow external configuration overwrite in PDF-AS-WEB --- .../java/at/gv/egiz/pdfas/api/ws/PDFASSignParameters.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'pdf-as-common/src/main/java/at') 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 32f10aa9..650e34d6 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 @@ -24,8 +24,6 @@ package at.gv.egiz.pdfas.api.ws; import java.io.Serializable; -import java.util.HashMap; -import java.util.Map; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlEnumValue; @@ -81,6 +79,7 @@ public class PDFASSignParameters implements Serializable { String qrCodeContent; String profile; PDFASPropertyMap preprocessor; + PDFASPropertyMap overrides; @XmlElement(required = true, nillable = false, name="connector") public Connector getConnector() { @@ -164,5 +163,12 @@ public class PDFASSignParameters implements Serializable { this.preprocessor = preprocessor; } - + @XmlElement(required = false, nillable = true, name="configurationOverrides") + public PDFASPropertyMap getOverrides() { + return overrides; + } + + public void setOverrides(PDFASPropertyMap overrides) { + this.overrides = overrides; + } } -- cgit v1.2.3