Bug 54691 - Rename HTTPS BIO/NIO connector attribute "protocols" to sslEnabledProtocols and document it.
Rename HTTPS BIO/NIO connector attribute "protocols" to sslEnabledProtocols a...
Product: Tomcat 6
Classification: Unclassified
Component: Connectors
All All
: P2 normal (vote)
: default
Assigned To: Tomcat Developers Mailing List
Depends on:
  Show dependency tree
Reported: 2013-03-13 17:17 UTC by Ognjen Blagojevic
Modified: 2013-12-09 12:30 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description Ognjen Blagojevic 2013-03-13 17:17:18 UTC
HTTPS BIO/NIO connector in Tomcat 7 have two attributes for protocol selection:

1. sslProtocol, to enable group of protocols, e.g. setting sslProtocol="TLSv1.1" might enable SSLv3, TLSv1 and TLSv1.1, and
2. sslEnabledProtocols, to enable specific protocols, e.g. setting sslEnabledProtocols="TLSv1,TLSv1.1" will enable only those two protocols.

Tomcat 6 have one documented and one undocumented attribute:

1. sslProtocol (documented) - to enable group of protocols
2. protocols, to enable specific protocols, similar as the above.

1. rename Tomcat 6 "protocols" attribute to "sslEnabledProtocols",
2. document that attribute.
Comment 1 Ralf Hauser 2013-09-09 08:43:47 UTC
see also bug 55537
Comment 2 Christopher Schultz 2013-09-10 14:46:03 UTC
I chose not to re-name the "protocols" property... I merely created (another) alias for it called "sslEnabledProtocols". I added documentation for only "sslEnabledProtocols" to encourage the use of that particular property name, but the existing property names remain valid.

Fixed in r1521514. Will be included in Tomcat 6.0.38.
Comment 3 Ognjen Blagojevic 2013-12-09 12:30:51 UTC
Thank you.