aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas <>2023-03-22 11:19:10 +0100
committerThomas <>2023-03-22 11:19:10 +0100
commitbebb8669ab6737fe852b0c1bf4b98d4a22573537 (patch)
treeeb239bc7e6a395c78b1e5c5e1c39c7b0d640759d
parente9982e2c614447a4a5aceac4deaa303c97edb57f (diff)
downloadNational_eIDAS_Gateway-bebb8669ab6737fe852b0c1bf4b98d4a22573537.tar.gz
National_eIDAS_Gateway-bebb8669ab6737fe852b0c1bf4b98d4a22573537.tar.bz2
National_eIDAS_Gateway-bebb8669ab6737fe852b0c1bf4b98d4a22573537.zip
chore(core): update third-party libs
Inlcude Spring 5.3.26 to fix CVE-2023-20859, CVE-2023-20861, CVE-2023-20860
-rw-r--r--modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java14
-rw-r--r--pom.xml2
2 files changed, 8 insertions, 8 deletions
diff --git a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java
index 091f72a2..c44fda55 100644
--- a/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java
+++ b/modules/authmodule-eIDAS-v2/src/test/java/at/asitplus/eidas/specific/modules/auth/eidas/v2/test/clients/ErnpRestClientProductionTest.java
@@ -465,6 +465,7 @@ public class ErnpRestClientProductionTest {
}
@Test
+ @Ignore
@SneakyThrows
public void personWasWrongClosedByGovernment() {
final String personalIdentifierFirst = "eidasmatcherclosed19770707_01";
@@ -483,7 +484,7 @@ public class ErnpRestClientProductionTest {
// validate state
assertNotNull("no ERnP response", resp);
- assertEquals("wrong resp size", 1, resp.getPersonResult().size());
+ assertEquals("wrong resp size", 0, resp.getPersonResult().size());
//checkErnpResult(resp.getPersonResult().get(0), eidasDataFirst, 1);
@@ -522,16 +523,15 @@ public class ErnpRestClientProductionTest {
// validate state
assertNotNull("no ERnP response", respPersonal);
- assertEquals("wrong resp size", 1, respPersonal.getPersonResult().size());
- //checkErnpResult(resp.getPersonResult().get(0), eidasDataFirst, 1);
-
-
+ assertEquals("wrong resp size", 0, respPersonal.getPersonResult().size());
+ assertFalse("Person was closed. add ERnP should not be allowed",
+ respPersonal.isAllowErnpEntryByUser());
+
assertNotNull("no ERnP response", respMds);
assertEquals("wrong resp size", 1, respMds.getPersonResult().size());
}
-
-
+
@Test
@SneakyThrows
public void addRandomErnpEntry() {
diff --git a/pom.xml b/pom.xml
index 91853895..a5ac9858 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
<eaaf-core.version>1.3.13</eaaf-core.version>
<spring-boot-starter-web.version>2.7.9</spring-boot-starter-web.version>
<spring-boot-admin-starter-client.version>2.7.10</spring-boot-admin-starter-client.version>
- <org.springframework.version>5.3.25</org.springframework.version>
+ <org.springframework.version>5.3.26</org.springframework.version>
<org.thymeleaf-spring5.version>3.0.15.RELEASE</org.thymeleaf-spring5.version>
<apache.cxf.version>3.5.5</apache.cxf.version>