From b7db33782a22ac8a390f3983307cc2f7379d7712 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 26 Sep 2012 16:59:49 +0000 Subject: 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 --- .../at/gv/egiz/bku/smccstal/GetCertificateRequestHandler.java | 10 +++++----- 1 file 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); -- cgit v1.2.3