File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
kroxylicious-integration-test-support/src/main/java/io/kroxylicious/test/client Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 66
77package io .kroxylicious .test .client ;
88
9- import java .security .cert .CertificateException ;
109import java .security .cert .X509Certificate ;
1110import java .util .concurrent .CompletableFuture ;
1211import java .util .concurrent .TimeUnit ;
@@ -223,13 +222,15 @@ private static SslContext buildTrustAllSslContext() {
223222
224223 private static class TrustingTrustManager implements X509TrustManager {
225224
225+ @ SuppressWarnings ("java:S4830" )
226226 @ Override
227227 public void checkClientTrusted (X509Certificate [] chain , String authType ) {
228228 // we are trust all - nothing to do.
229229 }
230230
231+ @ SuppressWarnings ("java:S4830" )
231232 @ Override
232- public void checkServerTrusted (X509Certificate [] chain , String authType ) throws CertificateException {
233+ public void checkServerTrusted (X509Certificate [] chain , String authType ) {
233234 // we are trust all - nothing to do.
234235 }
235236
You can’t perform that action at this time.
0 commit comments