[
https://issues.apache.org/jira/browse/CAMEL-23767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Cosentino resolved CAMEL-23767.
--------------------------------------
Resolution: Fixed
> 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)