aboutsummaryrefslogtreecommitdiff
path: root/basicConfig
diff options
context:
space:
mode:
authorThomas <>2022-12-01 13:12:23 +0100
committerThomas <>2022-12-01 13:12:23 +0100
commit458c6f039654ba6ed3608f1523ba45f04f79bcd2 (patch)
treec18102383ec141e77f6a0963d60397fe52939b63 /basicConfig
parent1923066ca9db0eacb8c1776b657705ef9b173448 (diff)
downloadNational_eIDAS_Gateway-458c6f039654ba6ed3608f1523ba45f04f79bcd2.tar.gz
National_eIDAS_Gateway-458c6f039654ba6ed3608f1523ba45f04f79bcd2.tar.bz2
National_eIDAS_Gateway-458c6f039654ba6ed3608f1523ba45f04f79bcd2.zip
feat(matching): disable UX option to create a new ERnP entry if it was prohibited by matching-process
Diffstat (limited to 'basicConfig')
-rw-r--r--basicConfig/ms-connector/properties/messages.properties4
-rw-r--r--basicConfig/ms-connector/properties/messages_de.properties6
-rw-r--r--basicConfig/ms-connector/templates/other_login_method.html59
3 files changed, 48 insertions, 21 deletions
diff --git a/basicConfig/ms-connector/properties/messages.properties b/basicConfig/ms-connector/properties/messages.properties
index 55a27ab6..f6005ac6 100644
--- a/basicConfig/ms-connector/properties/messages.properties
+++ b/basicConfig/ms-connector/properties/messages.properties
@@ -170,6 +170,10 @@ gui.otherlogin.inserternp.second=Allow the registration of your personal data in
gui.otherlogin.inserternp.third.prefix=Attention: If you think you already have an entry in the registers of the Austrian administration, it is recommended not to allow your data to be entered again at this point in order to avoid double entries. In this case, please contact
gui.otherlogin.inserternp.third.postfix=, to arrange a manual assignment of your personal data.
+gui.otherlogin.inserternp.disabled.header.selection=eIDAS-Login not possible
+gui.otherlogin.inserternp.disabled.prefix=If you have additional information that could enable an assignment, please log-in again and then use one of the preceding assignment options. If you do not have any further information, please contact
+gui.otherlogin.inserternp.disabled.postfix=, to arrange a manual assignment of your personal data
+
module.eidasauth.matching.00=Matching failed, because find more than one ZMR entries with one eIDAS personal-identifier
module.eidasauth.matching.01=Matching failed, because of an ZMR communication error. Reason: {0}
diff --git a/basicConfig/ms-connector/properties/messages_de.properties b/basicConfig/ms-connector/properties/messages_de.properties
index cd6c85fd..8fde9fdd 100644
--- a/basicConfig/ms-connector/properties/messages_de.properties
+++ b/basicConfig/ms-connector/properties/messages_de.properties
@@ -123,6 +123,12 @@ gui.otherlogin.inserternp.second=Erlauben Sie die Neueintragung ihrer Personenda
gui.otherlogin.inserternp.third.prefix=Achtung: Wenn Sie der Meinung sind, in den Registern der österreichischen Verwaltung bereits einen Eintrag zu haben, wird empfohlen, an dieser Stelle keine Neueintragung Ihrer Daten zu erlauben, um doppelte Einträge zu verhindern. Kontaktieren Sie in diesem Fall bitte
gui.otherlogin.inserternp.third.postfix=, um eine manuelle Zuordnung der Daten zu veranlassen.
+gui.otherlogin.inserternp.disabled.header.selection=Anmeldung nicht möglich
+gui.otherlogin.inserternp.disabled.prefix=Falls Sie über Informationen verfügen welche doch eine Zuordnung ermöglichen könnten, melden Sie sich bitte erneut an und verwenden Sie anschließend eine der vorgelagerten Zuordnungsmöglichkeiten. Falls Sie über keine weiteren Informationen verfügen kontaktieren Sie bitte
+gui.otherlogin.inserternp.disabled.postfix=, um eine manuelle Zuordnung der Daten zu veranlassen.
+
+
+
module.eidasauth.matching.04=Während der Kommunikation mit einem offiziellen Register ist ein Fehler aufgetreten. Bitte kontaktieren Sie den Support.
module.eidasauth.matching.21=Das Matching auf Basis eine Wohnanschrift in Österreich schlug fehl. Es wurden nicht alle erforderlichen Parameter für eine Suche mittels Wohnanschrift eingegeben.
module.eidasauth.matching.22=Das Matching auf Basis eine Wohnanschrift in Österreich schlug fehl. Matching auf Basis einer bestanden oder bestehenden Wohnanschrift konnte nicht durchgeführt werden.
diff --git a/basicConfig/ms-connector/templates/other_login_method.html b/basicConfig/ms-connector/templates/other_login_method.html
index 478d6da5..6b6d4aa9 100644
--- a/basicConfig/ms-connector/templates/other_login_method.html
+++ b/basicConfig/ms-connector/templates/other_login_method.html
@@ -49,28 +49,45 @@
<h2 th:text="#{gui.countryselection.header3}"> Betrieben durch das Bundesministerium für Inneres </h2>
</div>
- <div th:if="${createNewErnpEntry != null} and ${createNewErnpEntry}">
-
- <div class="mainDescription">
- <h3 th:text="#{gui.otherlogin.inserternp.header.selection}"> Generate new ERnP entry</h3>
-
- <p th:text="#{gui.otherlogin.inserternp.first}"> Insert ERnP first block </p>
- <p th:text="#{gui.otherlogin.inserternp.second}"> Insert ERnP second block </p>
- <p>
- <span th:text="#{gui.otherlogin.inserternp.third.prefix}"> Insert ERnP third block / part 1 </span>
- <span>&nbsp;<a href="mailto:helpdesk@bmi.gv.at"> helpdesk@bmi.gv.at </a></span>
- <span th:text="#{gui.otherlogin.inserternp.third.postfix}"> Insert ERnP third block / part 3 </span>
- </p>
+ <div th:if="${createNewErnpEntryScreen != null} and ${createNewErnpEntryScreen}">
+
+ <!-- Create new ERnP entry is disabled because we found an existing ERnP entry that was closed by government -->
+ <div th:if="${disallowNewErnpEntry != null} and ${disallowNewErnpEntry}">
+ <div class="mainDescription">
+ <h3 th:text="#{gui.otherlogin.inserternp.disabled.header.selection}"> Disallow new ERnP entry</h3>
+
+ <p th:text="#{gui.otherlogin.inserternp.first}"> Disallow new ERnP first block </p>
+ <p>
+ <span th:text="#{gui.otherlogin.inserternp.disabled.prefix}"> Disallow new ERnP third block / part 1 </span>
+ <span>&nbsp;<a href="mailto:helpdesk@bmi.gv.at"> helpdesk@bmi.gv.at </a></span>
+ <span th:text="#{gui.otherlogin.inserternp.disabled.postfix}"> Disallow new ERnP third block / part 3 </span>
+ </p>
+ </div>
</div>
- <div id="insertErnp" class="block">
- <form class="block,singleButton" method="post" action="$contextPath$submitEndpoint" th:attr="action=@{${submitEndpoint}}">
- <button type="submit" role="button" value="Keine weitere HS / eIDAS"
- th:text="#{gui.otherlogin.button.inserternp}">
- </button>
- <input type="hidden" name="loginSelection" value="ADD_ME_AS_NEW">
- <input type="hidden" name="pendingid" value="$pendingid" th:attr="value=${pendingid}"/>
- </form>
+ <!-- Show button to allow new ERnP entry and give some infos about that option -->
+ <div th:unless="${disallowNewErnpEntry != null} and ${disallowNewErnpEntry}">
+ <div class="mainDescription">
+ <h3 th:text="#{gui.otherlogin.inserternp.header.selection}"> Generate new ERnP entry</h3>
+
+ <p th:text="#{gui.otherlogin.inserternp.first}"> Insert ERnP first block </p>
+ <p th:text="#{gui.otherlogin.inserternp.second}"> Insert ERnP second block </p>
+ <p>
+ <span th:text="#{gui.otherlogin.inserternp.third.prefix}"> Insert ERnP third block / part 1 </span>
+ <span>&nbsp;<a href="mailto:helpdesk@bmi.gv.at"> helpdesk@bmi.gv.at </a></span>
+ <span th:text="#{gui.otherlogin.inserternp.third.postfix}"> Insert ERnP third block / part 3 </span>
+ </p>
+ </div>
+
+ <div id="insertErnp" class="block">
+ <form class="block,singleButton" method="post" action="$contextPath$submitEndpoint" th:attr="action=@{${submitEndpoint}}">
+ <button type="submit" role="button" value="Keine weitere HS / eIDAS"
+ th:text="#{gui.otherlogin.button.inserternp}">
+ </button>
+ <input type="hidden" name="loginSelection" value="ADD_ME_AS_NEW">
+ <input type="hidden" name="pendingid" value="$pendingid" th:attr="value=${pendingid}"/>
+ </form>
+ </div>
</div>
<div id="stopMatching" class="block">
@@ -84,7 +101,7 @@
</div>
- <div th:unless="${createNewErnpEntry!= null} and ${createNewErnpEntry}">
+ <div th:unless="${createNewErnpEntryScreen!= null} and ${createNewErnpEntryScreen}">
<div class="mainDescription">
<h3 th:text="#{gui.otherlogin.header.selection}"> No person data found</h3>