summaryrefslogtreecommitdiff
path: root/smccSTALExt/src/main/java/at
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-09-26 16:59:49 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-09-26 16:59:49 +0000
commitb7db33782a22ac8a390f3983307cc2f7379d7712 (patch)
tree287af163fdc560dc4ec8576bda0be54a75fe87b0 /smccSTALExt/src/main/java/at
parent583630aa62be7f80d1e4904d5237e6836e8cdbe8 (diff)
downloadmocca-b7db33782a22ac8a390f3983307cc2f7379d7712.tar.gz
mocca-b7db33782a22ac8a390f3983307cc2f7379d7712.tar.bz2
mocca-b7db33782a22ac8a390f3983307cc2f7379d7712.zip
Redisplay certificate dialog
Another dialog could be displayed - e.g. pin entry / wait git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1137 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smccSTALExt/src/main/java/at')
-rw-r--r--smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/GetCertificateRequestHandler.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/GetCertificateRequestHandler.java b/smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/GetCertificateRequestHandler.java
index 320fa82f..c5cf0cc7 100644
--- a/smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/GetCertificateRequestHandler.java
+++ b/smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/GetCertificateRequestHandler.java
@@ -63,10 +63,10 @@ public class GetCertificateRequestHandler extends AbstractRequestHandler {
GetCertificateGUIFacade gui = (GetCertificateGUIFacade) this.gui;
- gui.showGetCertificateDialog(this, "getqualcert", "getsimcert", this, "cancel");
-
while (true) {
+ gui.showGetCertificateDialog(this, "getqualcert", "getsimcert", this, "cancel");
+
waitForAction();
try {
@@ -85,7 +85,7 @@ public class GetCertificateRequestHandler extends AbstractRequestHandler {
fstream.write(cert);
fstream.close();
- log.debug("qualified certificate are saved to | " + file.getAbsolutePath() + ".");
+ log.debug("qualified certificate saved to " + file.getAbsolutePath() + ".");
} else if ("getsimcert".equals(actionCommand)) {
@@ -96,7 +96,7 @@ public class GetCertificateRequestHandler extends AbstractRequestHandler {
new VerifyPINGUI(gui)));
fstream.close();
- log.debug("simple certificate are saved to | " + file.getAbsolutePath() + ".");
+ log.debug("simple certificate saved to " + file.getAbsolutePath() + ".");
}
else {
@@ -104,7 +104,7 @@ public class GetCertificateRequestHandler extends AbstractRequestHandler {
}
} catch (FileNotFoundException e) {
- log.error("file to save the certificate could not be found.", e);
+ log.error("file to save the certificate to could not be found.", e);
} catch (SignatureCardException e) {
log.error("Card not activated or certificate is not available.", e);