From da0174d3b037468d243fad688ca1fd91c2049d24 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Tue, 16 Oct 2018 08:07:10 +0200 Subject: update third party libs to solve incompatibility with JDK11 --- id/server/idserverlib/pom.xml | 14 ++++++++++---- .../moa/id/storage/RedisTransactionStorage.java | 4 ++-- .../modules/eidas/utils/NewMoaEidasMetadata.java | 3 ++- pom.xml | 22 +++++++++++----------- 4 files changed, 25 insertions(+), 18 deletions(-) diff --git a/id/server/idserverlib/pom.xml b/id/server/idserverlib/pom.xml index a8a1a2695..a0d8b9a22 100644 --- a/id/server/idserverlib/pom.xml +++ b/id/server/idserverlib/pom.xml @@ -489,13 +489,13 @@ org.springframework.data spring-data-redis - 1.8.14.RELEASE + 2.1.0.RELEASE org.apache.commons commons-pool2 - 2.4.3 + 2.6.0 redis.clients @@ -503,7 +503,7 @@ 2.9.0 - + + + + com.fasterxml.jackson.core + jackson-core + 2.9.7 + diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/RedisTransactionStorage.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/RedisTransactionStorage.java index 8d36e81bb..5149186f6 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/RedisTransactionStorage.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/storage/RedisTransactionStorage.java @@ -36,7 +36,7 @@ import org.springframework.dao.DataAccessException; import org.springframework.data.redis.core.RedisOperations; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.core.SessionCallback; -import org.springframework.data.redis.serializer.JacksonJsonRedisSerializer; +import org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer; import org.springframework.stereotype.Service; import at.gv.egiz.eaaf.core.api.storage.ITransactionStorage; @@ -58,7 +58,7 @@ public class RedisTransactionStorage implements ITransactionStorage { protected AuthConfiguration authConfig; @Autowired - private JacksonJsonRedisSerializer assertionStoreSerializer; + private GenericJackson2JsonRedisSerializer assertionStoreSerializer; public RedisTemplate getTemplate(){ return this.redisTemplate; diff --git a/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidas/utils/NewMoaEidasMetadata.java b/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidas/utils/NewMoaEidasMetadata.java index bb52d2ffe..1e5609e4e 100644 --- a/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidas/utils/NewMoaEidasMetadata.java +++ b/id/server/modules/moa-id-module-eIDAS/src/main/java/at/gv/egovernment/moa/id/auth/modules/eidas/utils/NewMoaEidasMetadata.java @@ -378,7 +378,8 @@ public class NewMoaEidasMetadata { new ImmutableSortedSet.Builder<>(Ordering.>natural()); for (String attr : eIDASAttributeBuilder.getAllProvideableeIDASAttributes()) { - AttributeDefinition supAttr = params.getIdpEngine().getProtocolProcessor().getAttributeDefinitionNullable(attr); + NewMoaEidasMetadata.LOGGER.trace("Build metadata-attr: " + attr); + AttributeDefinition supAttr = params.getIdpEngine().getProtocolProcessor().getAttributeDefinitionNullable(attr); builder.add(supAttr); } diff --git a/pom.xml b/pom.xml index 8b61cb1b8..adaeaa1e7 100644 --- a/pom.xml +++ b/pom.xml @@ -26,21 +26,21 @@ 1.0.3 - 4.3.18.RELEASE - 1.11.13.RELEASE + 5.1.0.RELEASE + 2.1.0.RELEASE 2.22.0 2.3.0 2.6.6 1.4.6 - 2.1.0 + 2.1.2 - 5.2.17.Final - 2.4.0 + 5.3.6.Final + 2.5.0 - 3.2.5 - 2.5.17 + 3.2.6 + 2.5.18 2.0.0 @@ -50,7 +50,7 @@ 4.4.10 - 6.0.6 + 8.0.12 4.12 @@ -60,9 +60,9 @@ 3.2.2 2.10 - 2.9.1 - 1.4 - ${org.springframework.version} + 2.9.7 + 1.4 + ${org.springframework.version} -- cgit v1.2.3