summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-06-03 12:46:50 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-06-03 12:46:50 +0200
commitb9de22acd1f0ced739e90826e9358b35e4004a8b (patch)
tree42dab0182b1f14ed15180fbfb910eb6308b1547e /pdf-over-gui/src/main/java/at/asit
parent61b9f9a977720516cb510aa4ffc4610c5d492c63 (diff)
downloadpdf-over-b9de22acd1f0ced739e90826e9358b35e4004a8b.tar.gz
pdf-over-b9de22acd1f0ced739e90826e9358b35e4004a8b.tar.bz2
pdf-over-b9de22acd1f0ced739e90826e9358b35e4004a8b.zip
basic support for ID-A usernames in settings (cf. #88)
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java
index 83d05f72..92153fb4 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java
@@ -208,7 +208,9 @@ public class ConfigurationContainerImpl implements ConfigurationContainer {
try {
this.mobileNumber = MobileBKUHelper.normalizeMobileNumber(number);
} catch (InvalidNumberException e) {
- throw new InvalidNumberException(Messages.getString("error.InvalidPhoneNumber")); //$NON-NLS-1$
+ // assume this is a username for ID-Austria
+ // todo: re-evaluate this (cf. #88)
+ this.mobileNumber = number;
}
}