From 353bb701301dc1f2eb9a51c88a591449fdee2635 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Thu, 15 Sep 2022 09:35:12 +0200 Subject: chore(moa-sig): log used classloader to find moa-sig initialization problems --- .../eaaf/modules/sigverify/moasig/impl/AbstractSignatureService.java | 1 + .../egiz/eaaf/modules/sigverify/moasig/impl/MoaSigInitializer.java | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'eaaf_modules') diff --git a/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/AbstractSignatureService.java b/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/AbstractSignatureService.java index 942cd35c..96d1a02f 100644 --- a/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/AbstractSignatureService.java +++ b/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/AbstractSignatureService.java @@ -68,6 +68,7 @@ public abstract class AbstractSignatureService { //dump Java Security-Providers if (log.isTraceEnabled()) { log.trace("Set-Up verifier Bean: {}", this); + log.trace("ClassLoader: {}", this.getClass().getClassLoader()); dumpSecProviders("MOA-Sig Context-Set-Up"); } diff --git a/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/MoaSigInitializer.java b/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/MoaSigInitializer.java index dc4aa4c0..006f48c2 100644 --- a/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/MoaSigInitializer.java +++ b/eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/MoaSigInitializer.java @@ -9,8 +9,6 @@ import java.util.Map.Entry; import javax.annotation.PostConstruct; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import at.gv.egiz.eaaf.modules.sigverify.moasig.api.data.ISchemaRessourceProvider; @@ -24,9 +22,10 @@ import iaik.asn1.structures.AlgorithmID; import iaik.security.ec.provider.ECCelerate; import iaik.security.provider.IAIK; import lombok.Getter; +import lombok.extern.slf4j.Slf4j; +@Slf4j public class MoaSigInitializer { - private static final Logger log = LoggerFactory.getLogger(MoaSigInitializer.class); @Autowired(required = false) ISchemaRessourceProvider[] schemas; -- cgit v1.2.3