reta commented on code in PR #3299:
URL: https://github.com/apache/cxf/pull/3299#discussion_r3555185816
##########
rt/transports/http/src/main/java/org/apache/cxf/transport/https/SSLUtils.java:
##########
@@ -531,4 +532,43 @@ public javax.security.cert.X509Certificate[]
getPeerCertificateChain() throws SS
}
};
+ /**
+ * Applies the given named groups to {@code SSLParameters} via reflection.
+ * {@code SSLParameters.setNamedGroups()} requires JDK 20+; this method
+ * silently skips the call on older JDKs.
+ */
+ public static void applyNamedGroups(SSLParameters params, List<String>
namedGroups) {
Review Comment:
Wondering if we should consider multi-release jar and have clean JDK-20+
implementation?
--
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]