diff options
author | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2009-05-08 13:24:23 +0000 |
---|---|---|
committer | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2009-05-08 13:24:23 +0000 |
commit | 3a46eeb47e9025601fc0b651b93ec991aeb6dc65 (patch) | |
tree | 5ec0d90828babcaada4217d038cc36e97e6c3f82 /src | |
parent | c4efec1daeb50b30d363bb9fb83aec5435dbf2ad (diff) | |
download | pdf-as-3-3a46eeb47e9025601fc0b651b93ec991aeb6dc65.tar.gz pdf-as-3-3a46eeb47e9025601fc0b651b93ec991aeb6dc65.tar.bz2 pdf-as-3-3a46eeb47e9025601fc0b651b93ec991aeb6dc65.zip |
Web application bug concerning text reconstruction from form fixed.
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@338 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src')
-rw-r--r-- | src/main/webapp/jsp/null_request_page.jsp | 18 | ||||
-rw-r--r-- | src/site/changes.xml | 6 |
2 files changed, 19 insertions, 5 deletions
diff --git a/src/main/webapp/jsp/null_request_page.jsp b/src/main/webapp/jsp/null_request_page.jsp index 7f60325..28ff188 100644 --- a/src/main/webapp/jsp/null_request_page.jsp +++ b/src/main/webapp/jsp/null_request_page.jsp @@ -8,13 +8,23 @@ <%
String local_request_url = (String)request.getAttribute("local_request_url");
String data_url = (String) request.getAttribute("data_url");
- SignSessionInformation si = (SignSessionInformation) session.getAttribute(SessionAttributes.ATTRIBUTE_SESSION_INFORMATION);
+ HttpSessionBindingListener si = (HttpSessionBindingListener) session.getAttribute(SessionAttributes.ATTRIBUTE_SESSION_INFORMATION);
Locale locale = (Locale) session.getAttribute(LocaleParamFilter.LOCALE_SESSION_KEY);
- boolean isExternalInvocation = (si != null && si.exappinf != null);
- boolean isServerBKU = Constants.SIGNATURE_DEVICE_MOC.equals(si.connector);
+ boolean isExternalInvocation = false;
+ boolean isServerBKU = false;
+ if (si instanceof SignSessionInformation) {
+ SignSessionInformation ssi = (SignSessionInformation) si;
+ isExternalInvocation = ssi.exappinf != null;
+ isServerBKU = Constants.SIGNATURE_DEVICE_MOC.equals(ssi.connector);
+ } else {
+ VerifySessionInformation vsi = (VerifySessionInformation) si;
+ isExternalInvocation = vsi.exappinf != null;
+ isServerBKU = Constants.SIGNATURE_DEVICE_MOC.equals(vsi.connector);
+ }
%>
-<html>
+
+<%@page import="at.gv.egiz.pdfas.web.VerifySessionInformation"%><html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title><fmt:message key="nullrequestpage.title"/></title>
diff --git a/src/site/changes.xml b/src/site/changes.xml index 1b983a7..004afbb 100644 --- a/src/site/changes.xml +++ b/src/site/changes.xml @@ -1,4 +1,4 @@ - <?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8"?>
<document>
<properties>
@@ -13,6 +13,10 @@ </release>
-->
+ <release version="3.0.9-20090417" date="2009-05-08" description="subsequent release">
+ <action dev="tknall" type="fix">Web application bug concerning text reconstruction from form fixed.</action>
+ </release>
+
<release version="3.0.9-20090417" date="2009-04-17" description="subsequent release">
<action dev="tknall" type="add">New signature layout for new MOCCA bku integrated (etsi-moc-1.1).</action>
<action dev="tknall" type="add">New architecture implemented that allows different signature layouts for single types of bkus.</action>
|