CI: Add SonarCloud scan GHA workflow
[nonrtric/plt/ranpm.git] / pmproducer / src / main / java / org / oran / pmproducer / clients / AsyncRestClientFactory.java
index 783da3a..81d3335 100644 (file)
@@ -43,6 +43,7 @@ import javax.net.ssl.KeyManagerFactory;
 
 import org.oran.pmproducer.configuration.WebClientConfig;
 import org.oran.pmproducer.configuration.WebClientConfig.HttpProxyConfig;
+import org.oran.pmproducer.oauth2.SecurityContext;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.util.ResourceUtils;
@@ -116,6 +117,7 @@ public class AsyncRestClientFactory {
             }
         }
 
+        @SuppressWarnings("java:S6204")
         private SslContext createSslContextRejectingUntrustedPeers(String trustStorePath, String trustStorePass,
                 KeyManagerFactory keyManager)
                 throws NoSuchAlgorithmException, CertificateException, IOException, KeyStoreException {