summaryrefslogtreecommitdiff
path: root/smccSTAL/src/main/java/at/gv
diff options
context:
space:
mode:
authorwbauer <wbauer@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-10-10 09:12:46 +0000
committerwbauer <wbauer@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2008-10-10 09:12:46 +0000
commit378f735d14a1f21571a3c3d5d4ae7eab02c5cf3c (patch)
treeda3c320c0f3d525522c3caa46b5b17099fe6c344 /smccSTAL/src/main/java/at/gv
parent62dffe15b09010e64a886a936d549239f441cd31 (diff)
downloadmocca-378f735d14a1f21571a3c3d5d4ae7eab02c5cf3c.tar.gz
mocca-378f735d14a1f21571a3c3d5d4ae7eab02c5cf3c.tar.bz2
mocca-378f735d14a1f21571a3c3d5d4ae7eab02c5cf3c.zip
added a reset command
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@97 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smccSTAL/src/main/java/at/gv')
-rw-r--r--smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java
index c453e06e..9e47aeb8 100644
--- a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java
+++ b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java
@@ -91,6 +91,7 @@ public abstract class AbstractSMCCSTAL implements STAL {
log.info("Got an error response");
if (++retryCounter < maxRetries) {
log.info("Retrying");
+ signatureCard.reset();
signatureCard = null;
} else {
responseList.add(response);
@@ -108,6 +109,7 @@ public abstract class AbstractSMCCSTAL implements STAL {
log.info("Error while handling STAL request:" + e);
if (++retryCounter < maxRetries) {
log.info("Retrying");
+ signatureCard.reset();
signatureCard = null;
} else {
responseList.add(new ErrorResponse(6000));