From 79777d04cf64aa06388bb2027f5e1001015471f3 Mon Sep 17 00:00:00 2001 From: pdanner Date: Mon, 6 Dec 2010 18:23:49 +0000 Subject: javadoc an cleanup of unneeded code (mainly already out-commented) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@690 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../web/session/VerifySessionInformation.java | 87 ++-------------------- 1 file changed, 6 insertions(+), 81 deletions(-) (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/VerifySessionInformation.java') diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/VerifySessionInformation.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/VerifySessionInformation.java index bbaa647..fad3b8f 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/VerifySessionInformation.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/VerifySessionInformation.java @@ -72,7 +72,6 @@ public class VerifySessionInformation implements HttpSessionBindingListener, Ser /** * The original, uploaded pdf. */ - //public FileBasedPdfDataSourceImpl pdfDataSource = null; public DataSource inputDataSource = null; /** @@ -80,21 +79,6 @@ public class VerifySessionInformation implements HttpSessionBindingListener, Ser */ public String type = null; -// /** -// * The user name. -// */ -// public String user_name = null; -// -// /** -// * The password. -// */ -// public String user_password = null; - -// /** -// * All SignatureHolders extracted from the document. -// */ -// public List signature_holders; - /** * Keeps track of the currently running local operation. * @@ -104,66 +88,22 @@ public class VerifySessionInformation implements HttpSessionBindingListener, Ser */ public CurrentLocalOperation currentLocalOperation = null; -// /** -// * This is used only for MOA loc-ref web verify. -// */ -// public SignatureHolder moa_holder; - - -// /** -// * The incremental update information that has been extracted from the given -// * PDF document. -// */ -// public IncrementalUpdateInformation iui; - -// public SignatorInformation si = null; - -// public FileBasedDataSink output = null; - - -// /** -// * Copy of signature holders. It's needed by BKU when we try to verify single by single -// * signature. -// */ -// public List copy_of_signature_holders; - -// /** -// * The suggested filename. -// */ -// public String filename; -// -// /** -// * Tells, if the file download should be done inline or as attachment. -// */ -// public boolean download_inline; - -//// /** -//// * The sign result to be passed back to the user. -//// */ -//// public SignResult sign_result; -// -// public boolean isSignFinished = false; - - - /** * Object containing information about the calling webapplication. * @author: Thomas Zefferer */ public ExternAppInformation exappinf; + /** + * The result of the analyze call. + */ public AnalyzeResult analyzeResult; + /** + * Results of the verify process. + */ public VerifyResults verifyResults; -// /** -// * Information about the signature position -// * @author: Thomas Zefferer -// */ -// public TablePos pos ; - - - /** * @see javax.servlet.http.HttpSessionBindingListener#valueBound(javax.servlet.http.HttpSessionBindingEvent) */ @@ -178,21 +118,6 @@ public class VerifySessionInformation implements HttpSessionBindingListener, Ser public void valueUnbound(HttpSessionBindingEvent event) { log.debug("Unbound SignSessionInformation from session."); - - //TODO needed? -// if (this.inputDataSource != null) -// { -// TempDirHelper.deleteDataSourceIfFileBased(this.inputDataSource); -// } -// if (this.signature_holders != null) -// { -// Iterator it = this.signature_holders.iterator(); -// while (it.hasNext()) -// { -// SignatureHolder sh = (SignatureHolder) it.next(); -// TempDirHelper.deleteDataSourceIfFileBased(sh.getDataSource()); -// } -// } } } -- cgit v1.2.3