aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-11-29 14:33:36 +0000
committerpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-11-29 14:33:36 +0000
commit21a4093831f6960af2f9b8b0967ae071abf32dc9 (patch)
treedcce91005c52f11b7b523475c5be601530fbe402 /src
parent60d50bc4a0dbe1f7a618e8b0cdb610423535d6ea (diff)
downloadpdf-as-3-21a4093831f6960af2f9b8b0967ae071abf32dc9.tar.gz
pdf-as-3-21a4093831f6960af2f9b8b0967ae071abf32dc9.tar.bz2
pdf-as-3-21a4093831f6960af2f9b8b0967ae071abf32dc9.zip
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@645 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src')
-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();