From bf853b0a26b61a72a95afdd8b95fd1cc6b2e5235 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Thu, 29 Sep 2022 10:00:12 +0200 Subject: refact(core): change logger to lombok annotation --- .../AuthenticatedEncryptionPendingRequestIdGenerationStrategy.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'eaaf_core_utils/src/main/java') diff --git a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/AuthenticatedEncryptionPendingRequestIdGenerationStrategy.java b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/AuthenticatedEncryptionPendingRequestIdGenerationStrategy.java index 082a8315..a63fb998 100644 --- a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/AuthenticatedEncryptionPendingRequestIdGenerationStrategy.java +++ b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/AuthenticatedEncryptionPendingRequestIdGenerationStrategy.java @@ -20,8 +20,6 @@ import org.jose4j.jwe.ContentEncryptionAlgorithmIdentifiers; import org.jose4j.jwe.JsonWebEncryption; import org.jose4j.jwe.KeyManagementAlgorithmIdentifiers; import org.jose4j.lang.JoseException; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import at.gv.egiz.eaaf.core.api.idp.IConfiguration; @@ -33,6 +31,7 @@ import at.gv.egiz.eaaf.core.impl.credential.EaafKeyStoreFactory; import at.gv.egiz.eaaf.core.impl.credential.SymmetricKeyConfiguration; import at.gv.egiz.eaaf.core.impl.credential.SymmetricKeyConfiguration.SymmetricKeyType; import at.gv.egiz.eaaf.core.impl.data.Pair; +import lombok.extern.slf4j.Slf4j; /** * PendingRequestId generation strategy based on signed tokens that facilitates @@ -41,10 +40,9 @@ import at.gv.egiz.eaaf.core.impl.data.Pair; * @author tlenz * */ +@Slf4j public class AuthenticatedEncryptionPendingRequestIdGenerationStrategy implements IPendingRequestIdGenerationStrategy { - private static final Logger log = - LoggerFactory.getLogger(AuthenticatedEncryptionPendingRequestIdGenerationStrategy.class); @Autowired(required = true) IConfiguration baseConfig; @Autowired EaafKeyStoreFactory keyStoreFactory; -- cgit v1.2.3