Skip to content

[Jetty] custom SecureRequestCustomizer configuration#15956

Merged
davsclaus merged 1 commit intoapache:camel-4.4.xfrom
Atoms-Cat:camel-4.4.x
Oct 15, 2024
Merged

[Jetty] custom SecureRequestCustomizer configuration#15956
davsclaus merged 1 commit intoapache:camel-4.4.xfrom
Atoms-Cat:camel-4.4.x

Conversation

@HowellYan
Copy link
Copy Markdown
Contributor

Description

When using camel 4.4.x, I found that the Jetty component cannot flexibly configure sniHostCheck and turn off SNI verification.I need to inherit and rewrite the httpConfig.addCustomizer(new SecureRequestCustomizer()) in the createConnectorJettyInternal method of JettyHttpComponent in the project and replace it with httpConfig.addCustomizer(new SecureRequestCustomizer(false)); this is quite troublesome! So I submit the following changes: JettyHttpComponent adds the secureRequestCustomizer attribute, which can be customized in the project and flexibly loaded into the Jetty component

Target

  • [4.4.x]
  • [main]

@github-actions
Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟

🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run

  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot.

  • You can label PRs using build-all, build-dependents, skip-tests and test-dependents to fine-tune the checks executed by this PR.

  • Build and test logs are available in the Summary page. Only Apache Camel committers have access to the summary.

  • ⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@davsclaus davsclaus merged commit d016d72 into apache:camel-4.4.x Oct 15, 2024
davsclaus pushed a commit that referenced this pull request Oct 15, 2024
Co-authored-by: Howell.Yang <Howell.HH.Yang@pccw.com>
davsclaus pushed a commit that referenced this pull request Oct 15, 2024
Co-authored-by: Howell.Yang <Howell.HH.Yang@pccw.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants