It boils the blood that the pair
javax.net.ssl.SSLServerSocket as well as the pair
javax.net.ssl.SSLServerSocketFactory do not have common interfaces. You have to have separate and completely identical code to configure each socket type as well as set the enabled cipher suites.
These interface-type defects and inconsistencies are common throughout the package hierarchy. I was hoping that the next major release of Java would make a concerted effort to clean these up but it looks like that’s not going to happen. Phooey!
Note to self: file RFE on Java bug parade for these interfaces.
Link-back to main entry: NIO and SSL.