aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session
diff options
context:
space:
mode:
authorafitzek <afitzek@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2012-01-26 09:03:53 +0000
committerafitzek <afitzek@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2012-01-26 09:03:53 +0000
commitfa4c96aa94a5752559931a19a49dc6205f34282c (patch)
tree5c6f96cefe4969106383c8be349a8d2424d357cf /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session
parent60f82132f019531586d4129f6eb374af08c04858 (diff)
downloadpdf-as-3-fa4c96aa94a5752559931a19a49dc6205f34282c.tar.gz
pdf-as-3-fa4c96aa94a5752559931a19a49dc6205f34282c.tar.bz2
pdf-as-3-fa4c96aa94a5752559931a19a49dc6205f34282c.zip
+ 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
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.java24
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/VerifySessionInformation.java17
2 files changed, 24 insertions, 17 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 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;
/**
* <code>true</code> if pdf/a is enabled
- *
+ *
* @author tknall
*/
public boolean pdfa;
/**
* <code>true</code> 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.
- *
+ *
* <p>
* The SessionInformation class contains type safe references to the objects.
* </p>
- *
+ *
* @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.
- *
+ *
* <p>
* Only valid during local verify.
* </p>
*/
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)
*/