Search in sources :

Example 1 with SslConnector

use of org.eclipse.jetty.server.ssl.SslConnector in project qi4j-sdk by Qi4j.

the class SecureJettyMixin method buildConnector.

@Override
protected Connector buildConnector() {
    SslConnector connector = new SslSelectChannelConnector(new SslContextFactory());
    JettyConfigurationHelper.configureSslConnector(connector, configuration.get());
    return connector;
}
Also used : SslContextFactory(org.eclipse.jetty.util.ssl.SslContextFactory) SslConnector(org.eclipse.jetty.server.ssl.SslConnector) SslSelectChannelConnector(org.eclipse.jetty.server.ssl.SslSelectChannelConnector)

Aggregations

SslConnector (org.eclipse.jetty.server.ssl.SslConnector)1 SslSelectChannelConnector (org.eclipse.jetty.server.ssl.SslSelectChannelConnector)1 SslContextFactory (org.eclipse.jetty.util.ssl.SslContextFactory)1