From fa4c96aa94a5752559931a19a49dc6205f34282c Mon Sep 17 00:00:00 2001 From: afitzek Date: Thu, 26 Jan 2012 09:03:53 +0000 Subject: + changed log level of message "at.gv.egiz.pdfas.web.servlets.DataURLServlet:processSign:340 - Creating download URL ..." from debug to info + moved statistic info to DataURL Servlet to add state OK or ERROR depending if signature or verification was successfull or not git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@903 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../pdfas/web/session/SignSessionInformation.java | 24 ++++++++++++---------- .../web/session/VerifySessionInformation.java | 17 +++++++++------ 2 files changed, 24 insertions(+), 17 deletions(-) (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session') 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 684048a..11efbc1 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 @@ -43,7 +43,7 @@ import at.gv.egiz.pdfas.web.LocalRequest; /** * @author wprinz - * + * */ public class SignSessionInformation implements HttpSessionBindingListener, Serializable { @@ -94,32 +94,32 @@ public class SignSessionInformation implements HttpSessionBindingListener, Seria /** * Object containing information about the calling webapplication. - * + * * @author: Thomas Zefferer */ public ExternAppInformation exappinf; - + /** * Information about the signature position - * + * * @author exthex */ public SignaturePositioning pos; /** * true if pdf/a is enabled - * + * * @author tknall */ public boolean pdfa; /** * true if note is enabled - * + * * @author rpiazzi */ public boolean note; - + /** * The SignatureDetailInformation. */ @@ -134,7 +134,7 @@ public class SignSessionInformation implements HttpSessionBindingListener, Seria * The local request to be sent to the device. */ public LocalRequest localRequest = null; - + /** * Tells if the sign request has been processed and the signed document is * available in the DataSink. @@ -166,8 +166,10 @@ public class SignSessionInformation implements HttpSessionBindingListener, Seria */ public LocalBKUParams localBKUParams; - - + /** + * Start time of session (afitzek) + */ + public long startTime; /** * @see javax.servlet.http.HttpSessionBindingListener#valueBound(javax.servlet.http.HttpSessionBindingEvent) @@ -183,6 +185,6 @@ public class SignSessionInformation implements HttpSessionBindingListener, Seria public void valueUnbound(HttpSessionBindingEvent event) { log.debug("Unbound SignSessionInformation from session (ID=" + event.getSession().getId() + ")."); - + } } 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 30f5650..7cc3f4d 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 @@ -42,11 +42,11 @@ import at.gv.egiz.pdfas.web.ExternAppInformation; /** * This class is a collection of various session parameters that are passed * between the servlets and jsps. - * + * *

* The SessionInformation class contains type safe references to the objects. *

- * + * * @author wprinz */ public class VerifySessionInformation implements HttpSessionBindingListener, Serializable @@ -89,17 +89,17 @@ public class VerifySessionInformation implements HttpSessionBindingListener, Ser /** * Keeps track of the currently running local operation. - * + * *

* Only valid during local verify. *

*/ public CurrentLocalOperation currentLocalOperation = null; - + /** * Object containing information about the calling webapplication. * @author: Thomas Zefferer - */ + */ public ExternAppInformation exappinf; /** @@ -111,7 +111,12 @@ public class VerifySessionInformation implements HttpSessionBindingListener, Ser * Results of the verify process. */ public VerifyResults verifyResults; - + + /** + * Start time of session (afitzek) + */ + public long startTime; + /** * @see javax.servlet.http.HttpSessionBindingListener#valueBound(javax.servlet.http.HttpSessionBindingEvent) */ -- cgit v1.2.3