Andrea Cosentino created CAMEL-23767:
----------------------------------------

             Summary: 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
             Fix For: 4.21.0, 4.18.3, 4.14.8


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)

Reply via email to