aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session
diff options
context:
space:
mode:
authorpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-12-06 18:23:49 +0000
committerpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-12-06 18:23:49 +0000
commit79777d04cf64aa06388bb2027f5e1001015471f3 (patch)
tree4c70ec8695659a14aa862f98d50f70b1299c090b /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session
parentebf049402a10f8a4cf5612496d5c6daf64a7081a (diff)
downloadpdf-as-3-79777d04cf64aa06388bb2027f5e1001015471f3.tar.gz
pdf-as-3-79777d04cf64aa06388bb2027f5e1001015471f3.tar.bz2
pdf-as-3-79777d04cf64aa06388bb2027f5e1001015471f3.zip
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
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/SignSessionInformation.java26
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/VerifySessionInformation.java87
2 files changed, 18 insertions, 95 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/SignSessionInformation.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/SignSessionInformation.java
index 94428a4..90378d9 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/SignSessionInformation.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/SignSessionInformation.java
@@ -101,11 +101,6 @@ public class SignSessionInformation implements HttpSessionBindingListener, Seria
*/
public LocalRequest localRequest = null;
-// /**
-// * The response properties of the local request.
-// */
-// public Properties response_properties = null;
-
/**
* Tells if the sign request has been processed and the signed document is
* available in the DataSink.
@@ -117,12 +112,24 @@ public class SignSessionInformation implements HttpSessionBindingListener, Seria
*/
public SignParameters signParameters;
+ /**
+ * The Result of the sign process
+ */
public SignResult signResult;
+ /**
+ * The signed pdf data.
+ */
public byte[] signedPdf;
+ /**
+ * The xml response of the local BKU/Mocca
+ */
public String xmlResponse;
+ /**
+ * Local BKU/Mocca parameters used to identify the BKU
+ */
public LocalBKUParams localBKUParams;
@@ -141,14 +148,5 @@ public class SignSessionInformation implements HttpSessionBindingListener, Seria
{
log.debug("Unbound SignSessionInformation from session (ID=" + event.getSession().getId() + ").");
- //TODO needed?
-// if (this.pdfDataSource != null)
-// {
-// TempDirHelper.deleteDataSourceIfFileBased(this.pdfDataSource);
-// }
-// if (this.output != null)
-// {
-// TempDirHelper.deleteDataSinkIfFileBased(this.output);
-// }
}
}
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());
-// }
-// }
}
}