You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2026/06/19 12:24:00 UTC

[jira] [Updated] (CAMEL-23767) camel-platform-http-main: warn or fail fast when authentication is enabled but no mechanism is configured

     [ https://issues.apache.org/jira/browse/CAMEL-23767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino updated CAMEL-23767:
-------------------------------------
    Fix Version/s:     (was: 4.18.3)
                       (was: 4.14.8)

> camel-platform-http-main: warn or fail fast when authentication is enabled but no mechanism is configured
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-23767
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23767
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-platform-http
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 4.21.0
>
>
> In DefaultMainHttpServerFactory.configureAuthentication, when authenticationEnabled=true but neither a basic-auth properties file nor a JWT keystore is configured, the server starts without any authentication and without any warning. This proposes logging a clear warning (or failing fast) at startup so the misconfiguration is surfaced rather than silently starting an unprotected server.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)