Ported the config for SSL and websocket into new broker

This commit is contained in:
andsel
2018-11-02 17:21:35 +01:00
parent 176b986c47
commit 5efbe8e8bf
9 changed files with 216 additions and 153 deletions
@@ -49,13 +49,13 @@ import org.slf4j.LoggerFactory;
* Moquette server implementation to load SSL certificate from local filesystem path configured in
* config file.
*/
class DefaultMoquetteSslContextCreator implements ISslContextCreator {
public class DefaultMoquetteSslContextCreator implements ISslContextCreator {
private static final Logger LOG = LoggerFactory.getLogger(DefaultMoquetteSslContextCreator.class);
private final IConfig props;
DefaultMoquetteSslContextCreator(IConfig props) {
public DefaultMoquetteSslContextCreator(IConfig props) {
this.props = Objects.requireNonNull(props);
}