diff --git a/pom.xml b/pom.xml
index cf7c3fc..274b596 100644
--- a/pom.xml
+++ b/pom.xml
@@ -196,6 +196,13 @@
1.6.15
compile
+
+
+ org.codehaus.janino
+ janino
+ 3.1.7
+
+
diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/dispatcher/config/kafka/oauth2/CustomAuthenticateCallbackHandler.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/dispatcher/config/kafka/oauth2/CustomAuthenticateCallbackHandler.java
index 839d20d..eba83ce 100644
--- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/dispatcher/config/kafka/oauth2/CustomAuthenticateCallbackHandler.java
+++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/dispatcher/config/kafka/oauth2/CustomAuthenticateCallbackHandler.java
@@ -3,11 +3,9 @@
package it.finanze.sanita.fse2.ms.gtw.dispatcher.config.kafka.oauth2;
-import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
-import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URI;
import java.util.Arrays;
@@ -34,7 +32,6 @@
import com.microsoft.aad.msal4j.IClientCredential;
import it.finanze.sanita.fse2.ms.gtw.dispatcher.exceptions.BusinessException;
-import it.finanze.sanita.fse2.ms.gtw.dispatcher.utility.FileUtility;
import lombok.extern.slf4j.Slf4j;
@Slf4j
diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml
index 610e4ab..4533c27 100644
--- a/src/main/resources/logback-spring.xml
+++ b/src/main/resources/logback-spring.xml
@@ -49,45 +49,69 @@
-
-
-
- %msg%n
-
- ${kafka.log.base-topic}
-
-
- 0
-
-
- bootstrap.servers=${kafka.bootstrap-servers}
- metadata.fetch.timeout.ms=99999999999
- client.id=${kafka.producer.client-id}
- security.protocol=${kafka.properties.security.protocol}
- sasl.mechanism=${kafka.properties.sasl.mechanism}
- sasl.jaas.config=${kafka.properties.sasl.jaas.config}
- sasl.login.callback.handler.class=it.finanze.sanita.fse2.ms.gtw.dispatcher.config.kafka.oauth2.CustomAuthenticateCallbackHandler
- kafka.oauth.tenantId=${kafka.oauth.tenantId}
- kafka.oauth.appId=${kafka.oauth.appId}
- kafka.oauth.pfxPathName=${kafka.oauth.pfxPathName}
- kafka.oauth.pwd=${kafka.oauth.pwd}
-
- ssl.truststore.location=${kafka.properties.ssl.truststore.location}
- ssl.truststore.password=${kafka.properties.ssl.truststore.password}
-
-
-
+
+
+
+
+
+ %msg%n
+
+
+ ${kafka.log.base-topic}
+
+
+ 0
+
+
+ bootstrap.servers=${kafka.bootstrap-servers}
+ metadata.fetch.timeout.ms=99999999999
+ client.id=${kafka.producer.client-id}
+ security.protocol=${kafka.properties.security.protocol}
+ sasl.mechanism=${kafka.properties.sasl.mechanism}
+ sasl.jaas.config=${kafka.properties.sasl.jaas.config}
+
+ ssl.truststore.location=${kafka.properties.ssl.truststore.location}
+ ssl.truststore.password=${kafka.properties.ssl.truststore.password}
+
+
+
+
+
+
+
+
+
+
+ %msg%n
+
+
+ ${kafka.log.base-topic}
+
+
+ 0
+
+
+ bootstrap.servers=${kafka.bootstrap-servers}
+ metadata.fetch.timeout.ms=99999999999
+ client.id=${kafka.producer.client-id}
+ security.protocol=${kafka.properties.security.protocol}
+ sasl.mechanism=${kafka.properties.sasl.mechanism}
+ sasl.jaas.config=${kafka.properties.sasl.jaas.config}
+ sasl.login.callback.handler.class=it.finanze.sanita.fse2.ms.gtw.dispatcher.config.kafka.oauth2.CustomAuthenticateCallbackHandler
+ kafka.oauth.tenantId=${kafka.oauth.tenantId}
+ kafka.oauth.appId=${kafka.oauth.appId}
+ kafka.oauth.pfxPathName=${kafka.oauth.pfxPathName}
+ kafka.oauth.pwd=${kafka.oauth.pwd}
+
+
+
+
-
+
\ No newline at end of file