summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:33:38 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:33:38 +0000
commit92d13df5691387a2301c41eed4626f9efc025d43 (patch)
treea4045c916f05a64af469305e79969739caa10813 /pdf-over-gui/src/main/java/at/asit
parent764b21a69e8c5435283e2fe0340bea44a3fcc8f3 (diff)
downloadpdf-over-92d13df5691387a2301c41eed4626f9efc025d43.tar.gz
pdf-over-92d13df5691387a2301c41eed4626f9efc025d43.tar.bz2
pdf-over-92d13df5691387a2301c41eed4626f9efc025d43.zip
Fallback TAN tries handling
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@381 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/ATrustHandler.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/ATrustHandler.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/ATrustHandler.java
index e650d265..64f63b46 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/ATrustHandler.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/ATrustHandler.java
@@ -190,6 +190,7 @@ public class ATrustHandler extends MobileBKUHandler {
responseData, "Sie haben noch", "Versuch"); //$NON-NLS-1$ //$NON-NLS-2$
getStatus().setTanTries(Integer.parseInt(tries.trim()));
} catch (Exception e) {
+ getStatus().setTanTries(getStatus().getTanTries() - 1);
log.debug("Error parsing TAN response", e); //$NON-NLS-1$
}