aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/VerifyServlet.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/VerifyServlet.java b/src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/VerifyServlet.java
index 1029a5f..71324fe 100644
--- a/src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/VerifyServlet.java
+++ b/src/main/java/at/knowcenter/wag/egov/egiz/web/servlets/VerifyServlet.java
@@ -39,6 +39,7 @@ import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import at.gv.egiz.pdfas.exceptions.ErrorCode;
+import at.gv.egiz.pdfas.framework.DataSourceHolder;
import at.gv.egiz.pdfas.framework.config.SettingsHelper;
import at.gv.egiz.pdfas.framework.input.DataSource;
import at.gv.egiz.pdfas.framework.input.ExtractionStage;
@@ -126,7 +127,7 @@ public class VerifyServlet extends HttpServlet
// List signature_holders = extractSignatureHoldersFromFile(ud.file_name,
// ud.file_data);
- List signature_holders = extractSignatureHolders(ud.dataSource);
+ List signature_holders = extractSignatureHolders(new DataSourceHolder(ud.dataSource));
TempDirHelper.storeTextSignatureHoldersIfApplicable(signature_holders, "_textholder.utf8.txt");
@@ -323,7 +324,7 @@ public class VerifyServlet extends HttpServlet
}
}
- protected List extractSignatureHolders(DataSource dataSource) throws PresentableException
+ protected List extractSignatureHolders(DataSourceHolder dataSource) throws PresentableException
{
VerificationFilterParameters parameters = SettingsHelper.readVerificationFilterParametersFromSettings();