Claus Ibsen created CAMEL-27666:
-----------------------------------

             Summary: 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
             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)

Reply via email to