diff options
Diffstat (limited to 'pdf-as-web/src/main/webapp/jsp')
-rw-r--r-- | pdf-as-web/src/main/webapp/jsp/null_request_page.jsp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp b/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp index fd5ca76..661230a 100644 --- a/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp +++ b/pdf-as-web/src/main/webapp/jsp/null_request_page.jsp @@ -25,6 +25,7 @@ boolean isServerBKU = false;
boolean isLocalBKU = false;
boolean isMobileBKU = false;
+ boolean isMobileTest = false;
SignSessionInformation ssi = null;
@@ -34,6 +35,7 @@ isServerBKU = Constants.SIGNATURE_DEVICE_MOC.equals(ssi.connector);
isLocalBKU = Constants.SIGNATURE_DEVICE_BKU.equals(ssi.connector);
isMobileBKU = Constants.SIGNATURE_DEVICE_MOBILE.equals(ssi.connector);
+ isMobileTest = Constants.SIGNATURE_DEVICE_MOBILETEST.equals(ssi.connector);
} else {
VerifySessionInformation vsi = (VerifySessionInformation) si;
isExternalInvocation = vsi.exappinf != null;
@@ -262,6 +264,33 @@ <% } %>
</div>
</body>
+ <% // if Mobiletest %>
+ <% } if (isMobileTest) { %>
+ <body style="background:#e6f2fa">
+ <div>
+ <form action="<%= local_request_url %>" name="submitform" accept-charset="UTF-8" method="post" target="_self">
+ <input type="hidden" name="XMLRequest" value="<?xml version='1.0' encoding='UTF-8'?><NullOperationRequest xmlns='http://www.buergerkarte.at/namespaces/securitylayer/1.2#'/>" />
+ <input type="hidden" name="DataURL" value="<%= data_url %>" />
+ <input type="hidden" name="redirecttarget" value="_top"/>
+ <input type="hidden" name="appletWidth" value="190"/>
+ <input type="hidden" name="appletHeight" value="170"/>
+ <% if (language != null) { %>
+ <input type="hidden" name="locale" value="<%= language %>"/>
+ <% } // end if %>
+ </form>
+ <% if (!isExternalInvocation) { %>
+ <script language="javascript" type="text/javascript">
+ disableFormSettings();
+ document.submitform.submit();
+ </script>
+ <% } else { %>
+ <script language="javascript" type="text/javascript">
+ deactivateSprachlink();
+ document.submitform.submit();
+ </script>
+ <% } %>
+ </div>
+ </body>
<% }
//If local BKU is choosed the whole page has to be shown
if (isLocalBKU) {
|