### Question:
SSLServerConnectorFactory { public ServerConnector createSecureServerConnector(int oozieHttpsPort, Configuration conf, Server server) { this.conf = Objects.requireNonNull(conf, "conf is null"); Objects.requireNonNull(server, "server is null"); Preconditions.checkState(oozieHttpsPort >= 1 && oozieHttpsPort <= 65535, String.format("Invalid port number specified: \'%d\'. It should be between 1 and 65535.", oozieHttpsPort)); setIncludeProtocols(); setExcludeProtocols(); setIncludeCipherSuites(); setExludeCipherSuites(); setKeyStoreFile(); setKeystorePass(); HttpConfiguration httpsConfiguration = getHttpsConfiguration(); ServerConnector secureServerConnector = new ServerConnector(server, new SslConnectionFactory(sslContextFactory, HttpVersion.HTTP_1_1.asString()), new HttpConnectionFactory(httpsConfiguration)); secureServerConnector.setPort(oozieHttpsPort); LOG.info(String.format("Secure server connector created, listening on port %d", oozieHttpsPort)); return secureServerConnector; } @Inject  SSLServerConnectorFactory(final SslContextFactory sslContextFactory); ServerConnector createSecureServerConnector(int oozieHttpsPort, Configuration conf, Server server); static final String OOZIE_HTTPS_KEYSTORE_PASS; static final String OOZIE_HTTPS_KEYSTORE_FILE; static final String OOZIE_HTTPS_EXCLUDE_PROTOCOLS; static final String OOZIE_HTTPS_INCLUDE_PROTOCOLS; static final String OOZIE_HTTPS_INCLUDE_CIPHER_SUITES; static final String OOZIE_HTTPS_EXCLUDE_CIPHER_SUITES; static final String OOZIE_HSTS_MAX_AGE_SECONDS; }### Answer:
@Test public void excludeCipherSuitesCanBeSetViaConfig() throws Exception { testConfig.set(OOZIE_HTTPS_EXCLUDE_CIPHER_SUITES, "TLS_ECDHE_RSA_WITH_RC4_128_SHA," + "SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA,SSL_RSA_EXPORT_WITH_DES40_CBC_SHA"); sslServerConnectorFactory.createSecureServerConnector(42, testConfig, mockServer); verify(mockSSLContextFactory).setExcludeCipherSuites( "TLS_ECDHE_RSA_WITH_RC4_128_SHA", "SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA", "SSL_RSA_EXPORT_WITH_DES40_CBC_SHA"); }