aboutsummaryrefslogtreecommitdiff
path: root/eidas_modules/authmodule-eIDAS-v2/src/main
diff options
context:
space:
mode:
authorChristian Kollmann <christian.kollmann@a-sit.at>2021-12-02 16:05:57 +0100
committerChristian Kollmann <christian.kollmann@a-sit.at>2021-12-07 10:07:15 +0100
commitac56869c2a981e40d6cf4637fb8fd46c06207c9d (patch)
treef6e7ae5ed63dcf8a822e88d9a3e16f527f5a1e38 /eidas_modules/authmodule-eIDAS-v2/src/main
parent6fff1b53525348d531c96b45c920a8ce72288f60 (diff)
downloadNational_eIDAS_Gateway-ac56869c2a981e40d6cf4637fb8fd46c06207c9d.tar.gz
National_eIDAS_Gateway-ac56869c2a981e40d6cf4637fb8fd46c06207c9d.tar.bz2
National_eIDAS_Gateway-ac56869c2a981e40d6cf4637fb8fd46c06207c9d.zip
Add PLZ to search for adresses in ZMR
Diffstat (limited to 'eidas_modules/authmodule-eIDAS-v2/src/main')
-rw-r--r--eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/clients/zmr/ZmrAddressSoapClient.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/clients/zmr/ZmrAddressSoapClient.java b/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/clients/zmr/ZmrAddressSoapClient.java
index 5fb839af..6e146ddf 100644
--- a/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/clients/zmr/ZmrAddressSoapClient.java
+++ b/eidas_modules/authmodule-eIDAS-v2/src/main/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/clients/zmr/ZmrAddressSoapClient.java
@@ -264,8 +264,9 @@ public class ZmrAddressSoapClient extends AbstractSoapClient {
}
private static DetailLevel extractAddressDetailLevel(AdresssuchergebnisType value) {
- if (value.getDetailgrad() == null)
+ if (value.getDetailgrad() == null) {
return DetailLevel.UNKNOWN;
+ }
switch (value.getDetailgrad()) {
case PROCESS_TASK_RESPONSE_LEVEL_CITY:
return DetailLevel.CITY;