diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:34:21 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:34:21 +0000 |
commit | 9a21827dbd04c11092cda5cc0cc139d2db8022b8 (patch) | |
tree | 33c0da017f5ee2f7246c03e160e6da71fb8c993e /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow | |
parent | 81c5ae84e538e5891df9fb828b173e5fb1b08f78 (diff) | |
download | pdf-over-9a21827dbd04c11092cda5cc0cc139d2db8022b8.tar.gz pdf-over-9a21827dbd04c11092cda5cc0cc139d2db8022b8.tar.bz2 pdf-over-9a21827dbd04c11092cda5cc0cc139d2db8022b8.zip |
mobile bku viewer fix
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@388 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow')
2 files changed, 3 insertions, 2 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/IAIKHandler.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/IAIKHandler.java index 2c00b3a9..c5d38762 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/IAIKHandler.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/IAIKHandler.java @@ -202,7 +202,8 @@ public class IAIKHandler extends MobileBKUHandler { signatureDataURL = signatureDataURL.substring(0, signatureDataURL.lastIndexOf('/') + 1); signatureDataURL += "viewer.jsf" + //$NON-NLS-1$ MobileBKUHelper.extractTag(responseData, "viewer.jsf", "\""); //$NON-NLS-1$ //$NON-NLS-2$ - signatureDataURL = status.ensureSessionID(signatureDataURL); + signatureDataURL += (signatureDataURL.contains("?") ? "&" : "?") + //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + "pdfoversessionid=" + status.getSessionID(); //$NON-NLS-1$ String tanURL = MobileBKUHelper.extractTag(responseData, "name=\"j_idt6\" method=\"post\" action=\"", "\""); //$NON-NLS-1$ //$NON-NLS-2$ diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/MobileBKUHelper.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/MobileBKUHelper.java index cbb234cb..b5f781cc 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/MobileBKUHelper.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/MobileBKUHelper.java @@ -38,7 +38,7 @@ public class MobileBKUHelper { .getLogger(MobileBKUHelper.class); /** - * Regular expression for mobile phone numbers: this allows the entrance of + * Regular expression for mobile phone numbers: this allows the entry of * mobile numbers in the following formats: * * +(countryCode)99999999999 00(countryCode)99999999999 099999999999 |