eclipse/jetty.alpn — pull request #1 by Scottmitch (2014-10-13 13:14:51+00:00)
Title: Fail SSL Handshake if no supported Application Protocols

Motiviation:
jetty-alpn does not support the no_application_protocol alert as defined in http://tools.ietf.org/html/rfc7301#section-3.2. This should be supported to fail the handshake if there are no supported protocols found.

Modifications:
-Allow ALPN.ServerProvider.select to return null.
-ALPN.ServerProvider.select will be handled by ServerHandshaker.java as a fatal handshake error
-Add an Alerts.java to provide the missing alert_no_application_protocol definition
-Add a System property to allow users to configure if no supported protocols should be a fatal error OR if the server should 'play dumb' and not advertise that is supports ALPN
-Add unit tests to test this case

Result:
-jetty-boot supports no_application_protocol alert as defined in http://tools.ietf.org/html/rfc7301#section-3.2

Bug: 446063
Signed-off-by: Scott Mitchell