From d5d284863d70d7bfcd3ccb091b26b4f2454e3203 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 21 Aug 2020 10:43:38 +0200 Subject: Update internal- and third-party libs --- moaSig/common/build.gradle | 6 +++--- .../at/gv/egovernment/moaspss/util/Constants.java | 7 ++++--- moaSig/libs/iaik_cpades-2.4_MOA.jar | Bin 0 -> 130134 bytes moaSig/libs/iaik_cpades-2.5.1_moa.jar | Bin 129818 -> 0 bytes moaSig/libs/iaik_eccelerate-5.01.jar | Bin 596757 -> 0 bytes moaSig/libs/iaik_eccelerate-6.02.jar | Bin 0 -> 647834 bytes moaSig/libs/iaik_eccelerate_addon-5.01.jar | Bin 90630 -> 0 bytes moaSig/libs/iaik_eccelerate_addon-6.02.jar | Bin 0 -> 88796 bytes moaSig/libs/iaik_eccelerate_cms-5.01.jar | Bin 4769 -> 0 bytes moaSig/libs/iaik_eccelerate_cms-6.02.jar | Bin 0 -> 4769 bytes moaSig/libs/iaik_jce_full-5.52_moa.jar | Bin 1301058 -> 0 bytes moaSig/libs/iaik_jce_full_signed-5.61_MOA.jar | Bin 0 -> 1318695 bytes moaSig/libs/iaik_jsse-4.4.jar | Bin 34853 -> 0 bytes moaSig/libs/iaik_xsect-2.13_moa.jar | Bin 440160 -> 0 bytes moaSig/libs/iaik_xsect-2.14_MOA.jar | Bin 0 -> 445795 bytes moaSig/libs/tsl-lib-2.0.3.jar | Bin 0 -> 978757 bytes moaSig/moa-asic/build.gradle | 2 +- moaSig/moa-sig-lib/build.gradle | 11 ++++++----- .../moa/spss/server/iaik/config/IaikConfigurator.java | 3 +++ .../moa/spss/server/init/SystemInitializer.java | 6 ++++-- .../moa/spss/server/logging/IaikLogFactory.java | 6 +++--- moaSig/moa-sig/build.gradle | 2 +- 22 files changed, 25 insertions(+), 18 deletions(-) create mode 100644 moaSig/libs/iaik_cpades-2.4_MOA.jar delete mode 100644 moaSig/libs/iaik_cpades-2.5.1_moa.jar delete mode 100644 moaSig/libs/iaik_eccelerate-5.01.jar create mode 100644 moaSig/libs/iaik_eccelerate-6.02.jar delete mode 100644 moaSig/libs/iaik_eccelerate_addon-5.01.jar create mode 100644 moaSig/libs/iaik_eccelerate_addon-6.02.jar delete mode 100644 moaSig/libs/iaik_eccelerate_cms-5.01.jar create mode 100644 moaSig/libs/iaik_eccelerate_cms-6.02.jar delete mode 100644 moaSig/libs/iaik_jce_full-5.52_moa.jar create mode 100644 moaSig/libs/iaik_jce_full_signed-5.61_MOA.jar delete mode 100644 moaSig/libs/iaik_jsse-4.4.jar delete mode 100644 moaSig/libs/iaik_xsect-2.13_moa.jar create mode 100644 moaSig/libs/iaik_xsect-2.14_MOA.jar create mode 100644 moaSig/libs/tsl-lib-2.0.3.jar (limited to 'moaSig') diff --git a/moaSig/common/build.gradle b/moaSig/common/build.gradle index 8bd4bb3..88ff053 100644 --- a/moaSig/common/build.gradle +++ b/moaSig/common/build.gradle @@ -1,11 +1,11 @@ dependencies { compile files('../libs/iaik_jce_full-5.52_moa.jar') - compile 'org.slf4j:slf4j-api:1.7.12' + compile 'org.slf4j:slf4j-api:1.7.30' compile 'xerces:xercesImpl:2.12.0' compile 'xalan:xalan:2.7.1' - compile 'joda-time:joda-time:2.10.1' - compile 'jaxen:jaxen:1.1.6' + compile 'joda-time:joda-time:2.10.6' + compile 'jaxen:jaxen:1.2.0' } task testJar(type: Jar, dependsOn: testClasses) { diff --git a/moaSig/common/src/main/java/at/gv/egovernment/moaspss/util/Constants.java b/moaSig/common/src/main/java/at/gv/egovernment/moaspss/util/Constants.java index da3c4c8..7c29ea1 100644 --- a/moaSig/common/src/main/java/at/gv/egovernment/moaspss/util/Constants.java +++ b/moaSig/common/src/main/java/at/gv/egovernment/moaspss/util/Constants.java @@ -442,8 +442,8 @@ public interface Constants { + (XENC_NS_URI + " " + XENC_SCHEMA_LOCATION + " ") + (SAML2_METADATA_URI + " " + SAML2_METADATA_SCHEMA_LOCATION + " ") + (ASIC_URI + " " + ASIC_SCHEMA_LOCATION + " ") - + (SAML2_eIDAS_EXTENSIONS + " " + SAML2_eIDAS_EXTENSIONS_SCHEMA_LOCATION + " "); - //+ (eDELIVERY20 + " " + eDELIVERY20_SCHEMA_LOCATION); + + (SAML2_eIDAS_EXTENSIONS + " " + SAML2_eIDAS_EXTENSIONS_SCHEMA_LOCATION + " ") + + (eDELIVERY20 + " " + eDELIVERY20_SCHEMA_LOCATION); /** * Contains all namespaces and local schema locations for XML schema @@ -480,7 +480,8 @@ public interface Constants { + (XENC_NS_URI + " " + XENC_SCHEMA_LOCATION + " ") + (SAML2_METADATA_URI + " " + SAML2_METADATA_SCHEMA_LOCATION + " ") + (ASIC_URI + " " + ASIC_SCHEMA_LOCATION + " ") - + (SAML2_eIDAS_EXTENSIONS + " " + SAML2_eIDAS_EXTENSIONS_SCHEMA_LOCATION); + + (SAML2_eIDAS_EXTENSIONS + " " + SAML2_eIDAS_EXTENSIONS_SCHEMA_LOCATION + " ") + + (eDELIVERY20 + " " + eDELIVERY20_SCHEMA_LOCATION); /** URN prefix for bPK and wbPK. */ public static final String URN_PREFIX = "urn:publicid:gv.at"; diff --git a/moaSig/libs/iaik_cpades-2.4_MOA.jar b/moaSig/libs/iaik_cpades-2.4_MOA.jar new file mode 100644 index 0000000..300c215 Binary files /dev/null and b/moaSig/libs/iaik_cpades-2.4_MOA.jar differ diff --git a/moaSig/libs/iaik_cpades-2.5.1_moa.jar b/moaSig/libs/iaik_cpades-2.5.1_moa.jar deleted file mode 100644 index f225f27..0000000 Binary files a/moaSig/libs/iaik_cpades-2.5.1_moa.jar and /dev/null differ diff --git a/moaSig/libs/iaik_eccelerate-5.01.jar b/moaSig/libs/iaik_eccelerate-5.01.jar deleted file mode 100644 index 0d83fc5..0000000 Binary files a/moaSig/libs/iaik_eccelerate-5.01.jar and /dev/null differ diff --git a/moaSig/libs/iaik_eccelerate-6.02.jar b/moaSig/libs/iaik_eccelerate-6.02.jar new file mode 100644 index 0000000..e30b629 Binary files /dev/null and b/moaSig/libs/iaik_eccelerate-6.02.jar differ diff --git a/moaSig/libs/iaik_eccelerate_addon-5.01.jar b/moaSig/libs/iaik_eccelerate_addon-5.01.jar deleted file mode 100644 index 957fa5a..0000000 Binary files a/moaSig/libs/iaik_eccelerate_addon-5.01.jar and /dev/null differ diff --git a/moaSig/libs/iaik_eccelerate_addon-6.02.jar b/moaSig/libs/iaik_eccelerate_addon-6.02.jar new file mode 100644 index 0000000..94f2de5 Binary files /dev/null and b/moaSig/libs/iaik_eccelerate_addon-6.02.jar differ diff --git a/moaSig/libs/iaik_eccelerate_cms-5.01.jar b/moaSig/libs/iaik_eccelerate_cms-5.01.jar deleted file mode 100644 index ed4e816..0000000 Binary files a/moaSig/libs/iaik_eccelerate_cms-5.01.jar and /dev/null differ diff --git a/moaSig/libs/iaik_eccelerate_cms-6.02.jar b/moaSig/libs/iaik_eccelerate_cms-6.02.jar new file mode 100644 index 0000000..32d7aec Binary files /dev/null and b/moaSig/libs/iaik_eccelerate_cms-6.02.jar differ diff --git a/moaSig/libs/iaik_jce_full-5.52_moa.jar b/moaSig/libs/iaik_jce_full-5.52_moa.jar deleted file mode 100644 index 4ce6c24..0000000 Binary files a/moaSig/libs/iaik_jce_full-5.52_moa.jar and /dev/null differ diff --git a/moaSig/libs/iaik_jce_full_signed-5.61_MOA.jar b/moaSig/libs/iaik_jce_full_signed-5.61_MOA.jar new file mode 100644 index 0000000..78b79e9 Binary files /dev/null and b/moaSig/libs/iaik_jce_full_signed-5.61_MOA.jar differ diff --git a/moaSig/libs/iaik_jsse-4.4.jar b/moaSig/libs/iaik_jsse-4.4.jar deleted file mode 100644 index 15b3204..0000000 Binary files a/moaSig/libs/iaik_jsse-4.4.jar and /dev/null differ diff --git a/moaSig/libs/iaik_xsect-2.13_moa.jar b/moaSig/libs/iaik_xsect-2.13_moa.jar deleted file mode 100644 index 95f18ef..0000000 Binary files a/moaSig/libs/iaik_xsect-2.13_moa.jar and /dev/null differ diff --git a/moaSig/libs/iaik_xsect-2.14_MOA.jar b/moaSig/libs/iaik_xsect-2.14_MOA.jar new file mode 100644 index 0000000..aa3c229 Binary files /dev/null and b/moaSig/libs/iaik_xsect-2.14_MOA.jar differ diff --git a/moaSig/libs/tsl-lib-2.0.3.jar b/moaSig/libs/tsl-lib-2.0.3.jar new file mode 100644 index 0000000..e1321ac Binary files /dev/null and b/moaSig/libs/tsl-lib-2.0.3.jar differ diff --git a/moaSig/moa-asic/build.gradle b/moaSig/moa-asic/build.gradle index a030672..f8a536d 100644 --- a/moaSig/moa-asic/build.gradle +++ b/moaSig/moa-asic/build.gradle @@ -16,7 +16,7 @@ dependencies { compile project(':common') compile project(':moa-sig-lib') - compile 'org.slf4j:slf4j-log4j12:1.7.12' + compile 'org.slf4j:slf4j-log4j12:1.7.30' } sourceSets { diff --git a/moaSig/moa-sig-lib/build.gradle b/moaSig/moa-sig-lib/build.gradle index a34044c..438b71b 100644 --- a/moaSig/moa-sig-lib/build.gradle +++ b/moaSig/moa-sig-lib/build.gradle @@ -14,15 +14,16 @@ dependencies { compile 'log4j:log4j:1.2.17' compile 'commons-logging:commons-logging:1.2' - compile 'commons-io:commons-io:2.6' - compile 'commons-codec:commons-codec:1.11' + compile 'commons-io:commons-io:2.7' + compile 'commons-codec:commons-codec:1.14' compile 'org.apache.axis:axis-jaxrpc:1.4' - compile 'org.xerial:sqlite-jdbc:3.25.2' + compile 'org.xerial:sqlite-jdbc:3.32.3.2' compile 'javax.xml.bind:jaxb-api:2.3.1' compile 'com.sun.xml.bind:jaxb-core:2.3.0.1' compile 'com.sun.xml.bind:jaxb-impl:2.3.2' - compile 'org.postgresql:postgresql:9.4-1204-jdbc42' - compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.8.1' + compile 'org.postgresql:postgresql:42.2.15.jre7' + compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.11' + compile group: 'org.apache.httpcomponents', name: 'httpclient-cache', version: '4.5.12' } task releases(type: Copy) { diff --git a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfigurator.java b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfigurator.java index 44600db..00ea64d 100644 --- a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfigurator.java +++ b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/iaik/config/IaikConfigurator.java @@ -26,6 +26,7 @@ package at.gv.egovernment.moa.spss.server.iaik.config; import iaik.cms.IaikCCProvider; import iaik.esi.sva.Configuration; +import iaik.logging.LogFactory; import iaik.pki.store.revocation.RevocationFactory; import iaik.pki.store.revocation.RevocationSourceStore; import iaik.pki.store.truststore.TrustStoreFactory; @@ -88,6 +89,8 @@ public class IaikConfigurator { //SecProviderUtils.dumpSecProviders("Starting configuration"); + LogFactory.configure(configData.getLoggerConfig()); + try { iaik.pki.Configurator.initCommon(configData.getLoggerConfig(), transId); diff --git a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/init/SystemInitializer.java b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/init/SystemInitializer.java index d08669e..6ef9c57 100644 --- a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/init/SystemInitializer.java +++ b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/init/SystemInitializer.java @@ -39,6 +39,7 @@ import at.gv.egovernment.moa.spss.MOAException; import at.gv.egovernment.moa.spss.api.common.TSLConfiguration; import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider; import at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator; +import at.gv.egovernment.moa.spss.server.iaik.config.LoggerConfigImpl; import at.gv.egovernment.moa.spss.server.service.RevocationArchiveCleaner; import at.gv.egovernment.moa.spss.tsl.TSLServiceFactory; import at.gv.egovernment.moa.spss.tsl.timer.TSLUpdaterTimerTask; @@ -167,8 +168,9 @@ public class SystemInitializer { Logger.info("Building IAIK-MOA configuration ... "); - new IaikConfigurator().configure(config); - + new IaikConfigurator().configure(config); + + runInitializer(config); Logger.info(new LogMsg(msg.getMessage("init.01", null))); diff --git a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/logging/IaikLogFactory.java b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/logging/IaikLogFactory.java index 74491d8..9989087 100644 --- a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/logging/IaikLogFactory.java +++ b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/server/logging/IaikLogFactory.java @@ -40,11 +40,11 @@ import iaik.logging.LogFactory; public class IaikLogFactory extends LogFactory { public Log getInstance(Class clazz) throws LogConfigurationException { - return getInstanceImpl(); + return getInstanceImpl(clazz.getName()); } public Log getInstance(String name) throws LogConfigurationException { - return getInstanceImpl(); + return getInstanceImpl(name); } /** @@ -52,7 +52,7 @@ public class IaikLogFactory extends LogFactory { * * @return The iaik.logging.Log object to log messages to. */ - private Log getInstanceImpl() { + private Log getInstanceImpl(String name) { LoggingContext context = LoggingContextManager.getInstance().getLoggingContext(); if (context != null) return new IaikLog(context.getNodeID()); diff --git a/moaSig/moa-sig/build.gradle b/moaSig/moa-sig/build.gradle index f6268c6..1ce801c 100644 --- a/moaSig/moa-sig/build.gradle +++ b/moaSig/moa-sig/build.gradle @@ -16,7 +16,7 @@ dependencies { compile fileTree(dir: 'libs', include: '*.jar') providedCompile 'javax.servlet:servlet-api:2.4' compile 'commons-discovery:commons-discovery:0.5' - compile 'org.slf4j:slf4j-log4j12:1.7.25' + compile 'org.slf4j:slf4j-log4j12:1.7.30' //compile 'org.apache.cxf:cxf-rt-frontend-jaxws:3.1.4' //compile 'org.apache.cxf:cxf-rt-transports-http:3.1.4' -- cgit v1.2.3