aboutsummaryrefslogtreecommitdiff
path: root/eidas_modules
diff options
context:
space:
mode:
authorThomas <>2022-02-08 08:07:48 +0100
committerThomas <>2022-02-08 09:38:23 +0100
commit1a5d7bd12b0028b7cdb4e1b5e99d6162a323dce8 (patch)
treead4008bc4e0197aa35cbac5d0f93755f1e68af6e /eidas_modules
parent10a890cefbec754f927d3adf63d56956c426b45d (diff)
downloadNational_eIDAS_Gateway-1a5d7bd12b0028b7cdb4e1b5e99d6162a323dce8.tar.gz
National_eIDAS_Gateway-1a5d7bd12b0028b7cdb4e1b5e99d6162a323dce8.tar.bz2
National_eIDAS_Gateway-1a5d7bd12b0028b7cdb4e1b5e99d6162a323dce8.zip
chore(ernp): ignore search requests with residence information.
ERnP search is not used here, because we only search for people with Austrian residence and they are in ZMR only.
Diffstat (limited to 'eidas_modules')
-rw-r--r--eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/clients/ernp/ErnpRestClient.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/clients/ernp/ErnpRestClient.java b/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/clients/ernp/ErnpRestClient.java
index 3c19e9c1..3822da01 100644
--- a/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/clients/ernp/ErnpRestClient.java
+++ b/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/clients/ernp/ErnpRestClient.java
@@ -311,8 +311,10 @@ public class ErnpRestClient implements IErnpClient {
@Override
public ErnpRegisterResult searchWithResidenceData(String givenName, String familyName, String dateOfBirth,
- String zipcode, String city, String street) {
+ String zipcode, String city, String street) {
+ log.warn("Matching with residence information is prohibited by design! This requests will be ignored");
return new ErnpRegisterResult(Collections.emptyList());
+
}
@PostConstruct