diff options
author | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-07-13 14:43:11 +0000 |
---|---|---|
committer | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-07-13 14:43:11 +0000 |
commit | 648d22da5ba5817549336a7787f4a51f33a27892 (patch) | |
tree | 066c420b84dda2e2588674456f0c4f42597f68cb /smccSTAL/src/main/java/at/gv | |
parent | 4343cf050d45836266ce09241d53f47805d1dcc4 (diff) | |
download | mocca-648d22da5ba5817549336a7787f4a51f33a27892.tar.gz mocca-648d22da5ba5817549336a7787f4a51f33a27892.tar.bz2 mocca-648d22da5ba5817549336a7787f4a51f33a27892.zip |
Display warning message in GUI if certificate expired
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1109 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/InfoBoxReadRequestHandler.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/InfoBoxReadRequestHandler.java b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/InfoBoxReadRequestHandler.java index d67b37f3..63acdae1 100644 --- a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/InfoBoxReadRequestHandler.java +++ b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/InfoBoxReadRequestHandler.java @@ -103,8 +103,12 @@ public class InfoBoxReadRequestHandler extends AbstractRequestHandler { log.info("signing certificate is valid"); } catch (CertificateExpiredException e) { log.warn("signing certificate has expired!"); + gui.showWarningDialog(BKUGUIFacade.WARNING_CERT_EXPIRED, null, this, null); + waitForAction(); } catch (CertificateNotYetValidException e) { log.warn("signing certificate is not yet valid!"); + gui.showErrorDialog(BKUGUIFacade.WARNING_CERT_NOTYETVALID, null, this, null); + waitForAction(); } catch (CertificateException e) { log.error("Certificate decoding failed:", e); } |