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


##########
components/camel-cyberark-vault/src/main/java/org/apache/camel/component/cyberark/vault/client/ConjurClientFactory.java:
##########
@@ -133,16 +135,17 @@ public static ConjurClient createWithToken(String url, 
String account, String au
     /**
      * Create the SSL context for the HTTPS connections to Conjur, from the 
verifySsl and certificatePath options.
      *
+     * @param  camelContext             the Camel context, to load a 
classpath: resource
      * @param  verifySsl                whether to verify the certificate and 
the host name of the server. When false,
      *                                  any server is trusted and the 
certificate path is not used.
-     * @param  certificatePath          the path of a file with the 
certificates (PEM or DER) to trust instead of the
-     *                                  default trust store of the JVM, for 
example the certificate of a private CA, or
-     *                                  null
+     * @param  certificatePath          the file with the certificates (PEM or 
DER) to trust instead of the default
+     *                                  trust store of the JVM, for example 
the certificate of a private CA, or null. A
+     *                                  path of the file system, or a resource 
with the file: or classpath: prefix.
      * @return                          the SSL context, or null to use the 
default SSL context of the JVM
      * @throws IOException              if the certificate file cannot be read
      * @throws GeneralSecurityException if the file has no certificate, or the 
SSL context cannot be created
      */
-    public static SSLContext createSslContext(boolean verifySsl, String 
certificatePath)
+    public static SSLContext createSslContext(CamelContext camelContext, 
boolean verifySsl, String certificatePath)

Review Comment:
   `createSslContext` was added in 4.24 (#29210) and has not been released, so 
there is no migration to document; the prefix note now sits in the existing 
CAMEL-26279 upgrade-guide entry.
   
   _Claude Code on behalf of davsclaus_



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