davsclaus commented on code in PR #27482:
URL: https://github.com/apache/camel/pull/27482#discussion_r4205148660


##########
components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java:
##########
@@ -139,7 +139,7 @@ public class MongoDbEndpoint extends DefaultEndpoint 
implements EndpointServiceL
     //Connection Configuration
     @UriParam(label = "security", defaultValue = "false")
     private boolean tls;
-    @UriParam(label = "security", defaultValue = "false")
+    @UriParam(label = "security", defaultValue = "false", security = 
"insecure:ssl")

Review Comment:
   This is correct, since the option calls 
`builder.invalidHostNameAllowed(true)`. Note that it changes startup for 
`prod`-profile users who set `tlsAllowInvalidHostnames=true`: the security 
policy now fails startup instead of accepting it. Worth an upgrade-guide note, 
like the camel-hivemq `ssl` entry in the 4.23 guide.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to