From eb68e29e371ef3e944f682239e6f3f92cb084697 Mon Sep 17 00:00:00 2001 From: tknall Date: Mon, 9 Jun 2008 15:27:50 +0000 Subject: Web-Application: Configuration may be declared via system property "pdf-as.work-dir" or via Servlet-Init-Parameter "work-dir". Bug fixed in RetrieveSignatureDataServlet: Response header didn't contain a content length attribute. The ITS Mac BKU rejects those requests. Workaround for ITS Mac BKU integrated. A redirect via response does only work if the response contains a valid SL request (e.g. a NullOperationRequest). API: The configuration folder may be omitted at instantiating the api. Configuration may be set via system property "pdf-as.work-dir". If no configuration is given at all, the current user's home directory is searched for a folder "PDF-AS". If not found a default configuration is created. If the configuration is explicitely given than the temporary folder is located within the given directory otherwise within the user's temporary directory. Declaring the configuration folder, replacements for system properties like "${catalina.base}/conf/pdfas" may be used. Web-Application: Session is now being invalidated after download of the signed pdf file. Web-Application: Every hardcoded context "pdf-as" has been replaced. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@277 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- src/main/webapp/META-INF/context.xml | 4 ++-- src/main/webapp/WEB-INF/web.xml | 16 +++++++++------- src/main/webapp/jsp/SIGNATURBLOCK_DE.jsp | 2 +- src/main/webapp/jsp/dataok.jsp | 2 +- src/main/webapp/jsp/download.jsp | 4 +++- src/main/webapp/jsp/error.jsp | 4 ++-- src/main/webapp/jsp/error_verify.jsp | 4 ++-- src/main/webapp/jsp/null_request_page.jsp | 2 +- src/main/webapp/jsp/results.jsp | 2 +- src/main/webapp/jsp/signpreview.jsp | 2 +- src/main/webapp/jsp/signupload.jsp | 4 ++-- src/main/webapp/jsp/verifylist.jsp | 2 +- src/main/webapp/jsp/verifypreview.jsp | 2 +- src/main/webapp/jsp/verifyupload.jsp | 6 +++--- src/main/webapp/parentpage/standalone.jsp | 2 +- 15 files changed, 31 insertions(+), 27 deletions(-) (limited to 'src/main/webapp') diff --git a/src/main/webapp/META-INF/context.xml b/src/main/webapp/META-INF/context.xml index 0b4f656..b27ca81 100644 --- a/src/main/webapp/META-INF/context.xml +++ b/src/main/webapp/META-INF/context.xml @@ -2,8 +2,8 @@ - + diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index f9903a6..6d675b4 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -4,20 +4,22 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4"> - - EGIZ PDF-AS - + EGIZ PDF-AS PDF-AS - + + sitemesh diff --git a/src/main/webapp/jsp/SIGNATURBLOCK_DE.jsp b/src/main/webapp/jsp/SIGNATURBLOCK_DE.jsp index 3264093..3b48294 100644 --- a/src/main/webapp/jsp/SIGNATURBLOCK_DE.jsp +++ b/src/main/webapp/jsp/SIGNATURBLOCK_DE.jsp @@ -15,7 +15,7 @@ - Signatur-Logo + Signatur-Logo Unterzeichner diff --git a/src/main/webapp/jsp/dataok.jsp b/src/main/webapp/jsp/dataok.jsp index 7fc1b96..c77fb46 100644 --- a/src/main/webapp/jsp/dataok.jsp +++ b/src/main/webapp/jsp/dataok.jsp @@ -2,7 +2,7 @@ PDF-AS Amtssignaturen - +
diff --git a/src/main/webapp/jsp/download.jsp b/src/main/webapp/jsp/download.jsp index 62a5417..841f1d0 100644 --- a/src/main/webapp/jsp/download.jsp +++ b/src/main/webapp/jsp/download.jsp @@ -1,6 +1,7 @@ <%@ page contentType="text/html; charset=UTF-8"%> <%@ page import="at.knowcenter.wag.egov.egiz.web.SessionAttributes" %> +<%@ page import="at.knowcenter.wag.egov.egiz.web.LocalRequestHelper" %> <% String downloadURL = (String) session.getAttribute(SessionAttributes.DOWNLOAD_URL_FOR_SIGNED_PDF_DOCUMENT); @@ -23,6 +24,7 @@ } --> + @@ -34,7 +36,7 @@
- zurück + zurück diff --git a/src/main/webapp/jsp/error.jsp b/src/main/webapp/jsp/error.jsp index 48a7f50..0ec94d8 100644 --- a/src/main/webapp/jsp/error.jsp +++ b/src/main/webapp/jsp/error.jsp @@ -9,7 +9,7 @@ PDF-Signaturen Resultat - + <% @@ -30,7 +30,7 @@
<%= error %>
Ursache: <%= cause %>
- zurück + zurück
 		<%
 		  if (pe != null) {
diff --git a/src/main/webapp/jsp/error_verify.jsp b/src/main/webapp/jsp/error_verify.jsp
index 3e8421d..3b82a32 100644
--- a/src/main/webapp/jsp/error_verify.jsp
+++ b/src/main/webapp/jsp/error_verify.jsp
@@ -9,7 +9,7 @@
 
 	
 		PDF-Signaturen Resultat
-		
+		
 	
 
 <%
@@ -30,7 +30,7 @@
 		
<%= error %>
Ursache: <%= cause %>
- zurück + zurück
 		<%
 		  if (pe != null) {
diff --git a/src/main/webapp/jsp/null_request_page.jsp b/src/main/webapp/jsp/null_request_page.jsp
index 89df7cf..5773f63 100644
--- a/src/main/webapp/jsp/null_request_page.jsp
+++ b/src/main/webapp/jsp/null_request_page.jsp
@@ -35,7 +35,7 @@
 			
 		
 		
- zurück + zurück