summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas <>2022-09-15 09:35:12 +0200
committerThomas <>2022-09-15 09:35:12 +0200
commit353bb701301dc1f2eb9a51c88a591449fdee2635 (patch)
treedeeca5e81454292f128f523be0b4e66b949d9120
parent6cec185f982f52fb2b63d62676d185629da93aeb (diff)
downloadEAAF-Components-353bb701301dc1f2eb9a51c88a591449fdee2635.tar.gz
EAAF-Components-353bb701301dc1f2eb9a51c88a591449fdee2635.tar.bz2
EAAF-Components-353bb701301dc1f2eb9a51c88a591449fdee2635.zip
chore(moa-sig): log used classloader to find moa-sig initialization problems
-rw-r--r--eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/AbstractSignatureService.java1
-rw-r--r--eaaf_modules/eaaf_module_moa-sig/src/main/java/at/gv/egiz/eaaf/modules/sigverify/moasig/impl/MoaSigInitializer.java5
2 files changed, 3 insertions, 3 deletions
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;