Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty HandshakeCompletedListener for SSL ServerConnector

Hi,

On Wed, Aug 10, 2016 at 6:12 PM, Melvin Witte
<melvin.witte@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> I want to setup an embedded Jetty Server for testing using https connections
> (not WebSockets). I am bound by project dependencies to use Java 7 and
> downloaded Jetty version 9.2.17.
>
> While testing, I want to send a callback Message to listeners every time a
> handshake is completed. I found the SslHandshakeListener for Jetty 9.3.x,
> but fail to find a similar Listener for 9.2. Therefore my question:
>
> Is there any existing handshake listener class I can use or an easy way to
> implement one, maybe with using the javax.net.ssl.HandshakeCompletedListener
> interface?

No.

Furthermore, javax.net.ssl.HandshakeCompletedListener only works with
SSLSocket, not SSLEngine.

We won't backport that functionality to 9.2.x unless it's sponsored.

You may want to do the backport yourself by looking at the 9.3 commits.

Thanks !

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.


Back to the top