Package winstone
Class AbstractSecuredConnectorFactory
java.lang.Object
winstone.AbstractSecuredConnectorFactory
- All Implemented Interfaces:
ConnectorFactory
- Direct Known Subclasses:
Http2ConnectorFactory
,HttpsConnectorFactory
-
Field Summary
Modifier and TypeFieldDescriptionprotected KeyStore
protected String
protected static final WinstoneResourceBundle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureSsl
(Map<String, String> args, org.eclipse.jetty.server.Server server) protected org.eclipse.jetty.util.ssl.SslContextFactory.Server
getSSLContext
(Map<String, String> args) Used to get the base ssl context in which to create the server socket.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface winstone.ConnectorFactory
start
-
Field Details
-
SSL_RESOURCES
-
keystore
-
keystorePassword
-
-
Constructor Details
-
AbstractSecuredConnectorFactory
public AbstractSecuredConnectorFactory()
-
-
Method Details
-
configureSsl
protected void configureSsl(Map<String, String> args, org.eclipse.jetty.server.Server server) throws IOException- Throws:
IOException
-
getSSLContext
protected org.eclipse.jetty.util.ssl.SslContextFactory.Server getSSLContext(Map<String, String> args) Used to get the base ssl context in which to create the server socket. This is basically just so we can have a custom location for key stores.
-