oscerd commented on code in PR #27497:
URL: https://github.com/apache/camel/pull/27497#discussion_r4206987278


##########
core/camel-util/src/test/java/org/apache/camel/util/SecurityUtilsTest.java:
##########
@@ -54,6 +54,8 @@ void testHostnameVerificationOptionsAreRegistered() {
         // camel.main.profile=prod cannot refuse it (CAMEL-25409)
         
assertTrue(SecurityUtils.isInsecureValue("camel.component.mongodb.tlsAllowInvalidHostnames",
 true));
         
assertFalse(SecurityUtils.isInsecureValue("camel.component.mongodb.tlsAllowInvalidHostnames",
 false));
+        assertTrue(SecurityUtils.isInsecureValue(
+                
"camel.component.debezium-mongodb.mongodbSslInvalidHostnameAllowed", true));
         
assertTrue(SecurityUtils.isInsecureValue("camel.component.netty-http.hostnameVerification",
 false));

Review Comment:
   Done, and extended to the other two: every option now asserts both values, 
which also pins the inverted sense of `hostnameVerification` where it is the 
*off* value that is reported.
   
   _Claude Code on behalf of @oscerd_



-- 
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