summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/PersonIdentityLinkGUIFacade.java3
-rw-r--r--BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties1
-rw-r--r--smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/PersonIdentityLinkRequestHandler.java10
3 files changed, 10 insertions, 4 deletions
diff --git a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/PersonIdentityLinkGUIFacade.java b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/PersonIdentityLinkGUIFacade.java
index 0c565c3a..75163f4e 100644
--- a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/PersonIdentityLinkGUIFacade.java
+++ b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/PersonIdentityLinkGUIFacade.java
@@ -39,6 +39,9 @@ public interface PersonIdentityLinkGUIFacade extends BKUGUIFacade {
public static final String MESSAGE_IDENITY = "identity.msg";
public static final String IDENTIFY_BUTTON = "identity.button";
+
+ public static final String ERR_INFOBOX_INVALID = "err.infobox.invalid";
+
/**
* Currently dummy method to display anything ...
*
diff --git a/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties b/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties
index 8da9a06c..a5e582a1 100644
--- a/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties
+++ b/BKUGuiExt/src/main/resources/at/gv/egiz/bku/gui/ActivationMessages.properties
@@ -88,6 +88,7 @@ err.pin.format=<html>Invalid {0} length, {1} digit(s) required.</html>
err.pin.confirmation=<html>{0} and confirmation do not match.</html>
err.pin.operation.aborted=<html>The operation on {0} was aborted.</html>
err.unsupported.card=<html>This card is not supported</html>
+err.infobox.invalid=<html>Unable to interpret person identity link</html>
status.not.active=NOT ACTIVE
status.active=ACTIVE
diff --git a/smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/PersonIdentityLinkRequestHandler.java b/smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/PersonIdentityLinkRequestHandler.java
index d8af52ee..d8873f77 100644
--- a/smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/PersonIdentityLinkRequestHandler.java
+++ b/smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/PersonIdentityLinkRequestHandler.java
@@ -98,13 +98,15 @@ public class PersonIdentityLinkRequestHandler extends AbstractRequestHandler {
catch(SignatureCardException ex)
{
log.error(ex.getMessage(), ex);
- //gui.showErrorDialog(errorMsgKey, errorMsgParams)
- //waitForAction();
+ gui.showErrorDialog(PINManagementGUIFacade.ERR_CARD_NOTACTIVATED,
+ null, this, "cancel");
+ waitForAction();
return new ErrorResponse(1000);
} catch (IOException ex) {
log.error(ex.getMessage(), ex);
- //gui.showErrorDialog(errorMsgKey, errorMsgParams)
- //waitForAction();
+ gui.showErrorDialog(PersonIdentityLinkGUIFacade.ERR_INFOBOX_INVALID,
+ null, this, "cancel");
+ waitForAction();
return new ErrorResponse(1000);
}
}