diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-06-03 12:46:50 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-06-03 12:46:50 +0200 |
commit | b9de22acd1f0ced739e90826e9358b35e4004a8b (patch) | |
tree | 42dab0182b1f14ed15180fbfb910eb6308b1547e /pdf-over-gui/src | |
parent | 61b9f9a977720516cb510aa4ffc4610c5d492c63 (diff) | |
download | pdf-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')
3 files changed, 9 insertions, 7 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; } } diff --git a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties index 2fd124a9..00433fce 100644 --- a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties +++ b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties @@ -220,8 +220,8 @@ simple_config.ClearEmblem=Clea&r simple_config.EmblemEmpty=Drag and Drop an image here\nor use the browse button \nto select a signature logo. simple_config.Emblem_Title=Signature &logo simple_config.ExampleNumber=+43676123456789 -simple_config.ExampleNumber_ToolTip=To use a default mobile phone number enter it here -simple_config.MobileBKU_Title=&Mobile signature +simple_config.ExampleNumber_ToolTip=To use a default mobile phone number or username, enter it here +simple_config.MobileBKU_Title=ID Austria / &Mobile Phone Signature simple_config.Note=Text\: simple_config.Note_Default_Standard=This document is signed with a qualified electronic signature. According to Art. 25 para. 2 of the Regulation (EU) No 910/2014 of 23. July 2014 ("eIDAS-Regulation") it shall have the equivalent legal effect of a handwritten signature. simple_config.Note_Default_OfficialSignature=This document was signed/sealed with an official signature. According to § 20 Austrian E-Government-Act a printout of this document is assumed to be authentic. @@ -230,7 +230,7 @@ simple_config.Note_Default_Old=This document is signed with a qualified electron simple_config.Note_SetDefault=Restore default simple_config.Note_Title=Signature &Note simple_config.Note_Tooltip=Add an optional note to display on your Signature -simple_config.PhoneNumber=Mobile number\: +simple_config.PhoneNumber=Username (or mobile no.)\: simple_config.SigBlockLang_Title=Signature block lan&guage\: simple_config.SigBlockLang_ToolTip=Select the language to be used in the signature block displayed on the signed document simple_config.SigProfile_Title=Signature Profile diff --git a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties index c0c3d740..ce06499a 100644 --- a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties +++ b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties @@ -211,8 +211,8 @@ simple_config.ClearEmblem=Ent&fernen simple_config.EmblemEmpty=Ziehen Sie ein Bild hierher\noder verwenden sie Durchsuchen \num eine Bildmarke zu wählen. simple_config.Emblem_Title=&Bildmarke simple_config.ExampleNumber=+43676123456789 -simple_config.ExampleNumber_ToolTip=Um die Handynummer voreinzustellen hier eingeben -simple_config.MobileBKU_Title=&Handy-Signatur +simple_config.ExampleNumber_ToolTip=Um die Handynummer bzw. den Benutzernamen voreinzustellen hier eingeben +simple_config.MobileBKU_Title=ID-Austria / &Handy-Signatur simple_config.Note=Text\: simple_config.Note_Default_Standard=Dieses mit einer qualifizierten elektronischen Signatur versehene Dokument hat gemäß Art. 25 Abs. 2 der Verordnung (EU) Nr. 910/2014 vom 23. Juli 2014 (\"eIDAS-VO\") die gleiche Rechtswirkung wie ein handschriftlich unterschriebenes Dokument. simple_config.Note_Default_OfficialSignature=Dieses Dokument wurde amtssigniert. Auch ein Ausdruck dieses Dokuments hat gemäß § 20 E-Government-Gesetz die Beweiskraft einer öffentlichen Urkunde. @@ -221,7 +221,7 @@ simple_config.Note_Default_Old=Dieses mit einer qualifizierten elektronischen Si simple_config.Note_SetDefault=Standard wiederherstellen simple_config.Note_Title=Signaturhi&nweis simple_config.Note_Tooltip=Ein optionaler Hinweis, der in Ihrer Signatur angezeigt wird -simple_config.PhoneNumber=Handynummer\: +simple_config.PhoneNumber=Benutzername/Handynummer\: simple_config.SigBlockLang_Title=Sp&rache des Signaturblocks\: simple_config.SigBlockLang_ToolTip=Wählen Sie eine Sprache für den Signaturblock, der am signierten Dokument erscheint simple_config.SigProfile_Title=Signatur-Profil |