[
https://issues.apache.org/jira/browse/CAMEL-27666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18152236#comment-18152236
]
Claus Ibsen commented on CAMEL-27666:
-------------------------------------
Merged in https://github.com/apache/camel/pull/31029 as
https://github.com/apache/camel/commit/e8e0c8a1d6b766db58ec0c776896510e18251ef7,
fixed in 4.24.0.
_Claude Code on behalf of Claus Ibsen_
> camel-bonita - Add HTTPS support
> --------------------------------
>
> Key: CAMEL-27666
> URL: https://issues.apache.org/jira/browse/CAMEL-27666
> Project: Camel
> Issue Type: Improvement
> Components: camel-bonita
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.24.0
>
>
> {{BonitaAPIConfig.getBaseBonitaURI()}} always builds an {{http://}} URI, and
> no option of the bonita endpoint selects HTTPS. So the producer can only talk
> to a Bonita server over plain HTTP: the username and password (the
> {{loginservice}} call of {{BonitaAuthFilter}}), the session cookies and the
> {{X-Bonita-API-Token}} header are sent in clear text, and a Bonita server
> that only accepts HTTPS cannot be reached.
> h4. Proposed change
> * New endpoint option {{protocol}} ({{http}} or {{https}}, default {{http}},
> so nothing changes for existing routes) used by
> {{BonitaAPIConfig.getBaseBonitaURI()}}.
> * New endpoint option {{sslContextParameters}} (label security) and the
> component option {{useGlobalSslContextParameters}}, applied as the
> {{SSLContext}} of the JAX-RS clients of the producer: the client of the REST
> calls and file uploads, and the client of the login in {{BonitaAuthFilter}}.
> * Document the options in the component page.
> _Claude Code on behalf of Claus Ibsen_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)