aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/webapp/jsp/null_request_page.jsp18
-rw-r--r--src/site/changes.xml6
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>