This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 72151fc0c142c2a08357e82dc13ce7e01655c545 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Thu Nov 30 14:42:45 2023 -0300 CAMEL-20163: removed commented code --- .../camel/component/http/HttpSendDynamicAwareBasicAuthTest.java | 3 --- .../jetty/ExplicitHttpsSslContextParametersRouteTest.java | 8 -------- 2 files changed, 11 deletions(-) diff --git a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpSendDynamicAwareBasicAuthTest.java b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpSendDynamicAwareBasicAuthTest.java index 0cc9801c12a..041aceb0ab3 100644 --- a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpSendDynamicAwareBasicAuthTest.java +++ b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpSendDynamicAwareBasicAuthTest.java @@ -77,9 +77,6 @@ public class HttpSendDynamicAwareBasicAuthTest extends BaseHttpTest { public void configure() throws Exception { // Providing the username and password as user info is considered as an HTTP protocol violation // according to the RFC 7230, so its support has been removed - // from("direct:moes") - // .toD("http://{{myUsername}}:{{myPassword}}@localhost:" + localServer.getLocalPort() - // + "/moes?authMethod=Basic&authenticationPreemptive=true&throwExceptionOnFailure=false&drink=${header.drink}"); from("direct:joes") .toD("http://localhost:" + localServer.getLocalPort() diff --git a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/ExplicitHttpsSslContextParametersRouteTest.java b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/ExplicitHttpsSslContextParametersRouteTest.java index 0c5fef72da5..3b9e0f39bdc 100644 --- a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/ExplicitHttpsSslContextParametersRouteTest.java +++ b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/ExplicitHttpsSslContextParametersRouteTest.java @@ -45,14 +45,6 @@ public class ExplicitHttpsSslContextParametersRouteTest extends HttpsRouteTest { SSLContextParameters sslContextParameters = new SSLContextParameters(); sslContextParameters.setKeyManagers(kmp); - // From Camel 2.5.0 Camel-Jetty is using SslSelectChannelConnector - // instead of SslSocketConnector - // SslSelectChannelConnector sslSocketConnector = new - // SslSelectChannelConnector(); - // sslSocketConnector.getSslContextFactory().setSslContext(sslContextParameters.createSSLContext()); - // sslSocketConnector.setPort(port); - - // return sslSocketConnector; return null; } // END SNIPPET: e2
