Package io.netty.handler.ssl
This package contains hacked SSL Engine for handling ALPN.
Unfortunately JDK 8 doesn't have support handling TLS/ALPN for negotiating protocols. Using OpenSSL doesn't
improve the situation neither since we obtain an initialized SSLContext
from Wildfly.
There's also 3rd element of the puzzle - Netty, which contains its own class hierarchy for handling TLS.
So in order to support TLS/ALPN without Jetty's agent (which requires specific version per JVM version), we need
to wrap original SSLEngine
with ALPNHackSSLEngine
(that
supports ALPN) and then wrap it again in AlpnHackedJdkSslEngine
(and friends) to
pass it to Netty.
All classes in this package can be removed once we are baselined on JDK9.
-
Class Summary Class Description AlpnHackedJdkApplicationProtocolNegotiator Netty's negotiator for Hacked ALPN SSL Engine.AlpnHackedJdkSslContext Hacked ALPN SSL Context for Netty.AlpnHackedJdkSslEngine AlpnHackedSslSession Hacked ALPN SSL Session for Netty.ALPNHackSSLEngine SSLEngine wrapper that provides some super hacky ALPN support on JDK8.