tmielke commented on code in PR #25876:
URL: https://github.com/apache/camel/pull/25876#discussion_r3892648566


##########
components/camel-salesforce/camel-salesforce-maven-plugin/src/main/java/org/apache/camel/maven/AbstractSalesforceMojo.java:
##########
@@ -243,6 +244,15 @@ private void validateAuthenticationParameters() throws 
MojoExecutionException {
                         "Property 'keystorePassword' must be provided when 
property 'keystoreResource' was provided."); // NOSONAR
             }
         }
+
+        if (authenticationType == null && clientSecret != null && userName != 
null && password == null

Review Comment:
   I agree there is a need for a unit test that verifies the required 
authentication parameter. Let me add one.



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