From 21a4093831f6960af2f9b8b0967ae071abf32dc9 Mon Sep 17 00:00:00 2001 From: pdanner Date: Mon, 29 Nov 2010 14:33:36 +0000 Subject: git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@645 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../java/at/knowcenter/wag/egov/egiz/web/servlets/VerifyServlet.java | 5 +++-- 1 file 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(); -- cgit v1.2.3