oscerd opened a new pull request, #23939:
URL: https://github.com/apache/camel/pull/23939
# CAMEL-23446: camel-solr - Add SSLContextParameters support for TLS
configuration
## What
Adds `SSLContextParameters` support to `camel-solr` so users can configure
fine-grained TLS settings — named groups, signature schemes, cipher suites and
protocols — instead of relying solely on the CA-only `certificatePath` option.
This enables, for example, post-quantum named groups such as `X25519MLKEM768`
on JDK 25+.
Previously `SolrEndpoint` created the `SSLContext` directly via
`SSLContext.getInstance("TLSv1.3")` from a CA certificate, with no hook for
`SSLContextParameters`.
## Changes
- `SolrComponent` now implements `SSLContextParametersAware`, exposing
`sslContextParameters` and `useGlobalSslContextParameters` (with global
fallback wiring in `createEndpoint`).
- `SolrConfiguration` gains an `sslContextParameters` URI parameter
(`security` group).
- `SolrEndpoint` builds the `SSLContext` from `SSLContextParameters` when
configured; the existing `certificatePath` (self-signed CA) path is retained as
a fallback.
- Regenerated catalog + component/endpoint DSL metadata.
## Precedence
Explicit `sslContextParameters` › global SSL context parameters (when
`useGlobalSslContextParameters=true`) › `certificatePath` (CA-only).
## Tests
New `SolrSslContextParametersTest` covers: configuration round-trip,
component→endpoint propagation, use of global parameters,
explicit-wins-over-global, and `SolrClient` construction with the derived
`SSLContext`. Existing camel-solr unit + Solr-container integration tests pass;
full reactor build (`mvn clean install -DskipTests`) is green.
## Notes
Mirrors CAMEL-23314 (camel-opensearch) and the camel-elasticsearch work
(CAMEL-23444 / CAMEL-23445). No new dependencies; no public API changes beyond
the additive component/endpoint options.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]