codahale/dropwizard — pull request #131 by cfieber (2012-07-04 16:58:05+00:00)
Title: Add support for configuring Jetty SslContextFactory includeProtocols

* updated the SslConfiguration object to add 'includeProtocols' property
which is an optional List of Strings specifying SSL protocols to enable
in the SSL Context Factory. I'm not very happy with the name of this
configuration parameter but it matches the corresponding configuration
parameter in Jetty so I didn't want to rename it just for the sake of
asthetics.

* if specified, pass the set includeProtocols on SslContextFactory. The
behaviour of the includeProtocols List on SslContextFactory is to
take the intersection of the includeProtocols and the available SSL
protocols in the JVM and use that as the list of active SSL protocols.
As such, I didn't add any validation to the values in the list, if
an invalid value is specified, it will be ignored.

configuration looks like (YAML):
```
http:
connectorType: legacy+ssl
ssl:
includeProtocols:
- TLSv1
- SSLv3
```