ffang opened a new pull request, #3782:
URL: https://github.com/apache/cxf/pull/3782

   The TLS named groups configured with <sec:namedGroups> (tlsServerParameters 
/ tlsClientParameters) or TLSParameterBase.setNamedGroups() were not passed on 
to the TLS engine in several places, so the handshake used the JVM-wide named 
groups instead:
   
   - The Spring bean definition parsers of the HTTP conduit and of the Jetty, 
Undertow and Netty server engines did not map the namedGroups element, so 
getNamedGroups() was empty at runtime.
   - The Undertow and Netty server engines, the Netty client, the URLConnection 
conduit and the hc/hc5 async conduits never applied the named groups.
   
   The parsers now map namedGroups, and the named groups are applied to every 
SSLEngine/SSLSocket that CXF configures, through SSLParameters (JDK 20+) or, 
for BC JSSE, BCSSLParameters. The Jetty server applies them to each SSLEngine, 
BC JSSE first. Undertow only accepts an SSLContext, so its engines are created 
by a wrapping NamedGroupsSSLContext. The BC JSSE reflection is resolved once.
   
   On a JDK without SSLParameters.setNamedGroups() (before JDK 20), configured 
groups that BC JSSE does not apply are ignored, and a warning is logged once. 
The JDK HttpClient only keeps the named groups of the SSLParameters it is given 
from JDK 26 on, so HttpClientHTTPConduit logs a warning once when the 
configured groups are dropped, including for a shared client reused from the 
cache.


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