private static boolean isDirectTLSConfigured(ConnectionConfiguration configuration) {
        return configuration.getTlsPolicy() == Connection.TLSPolicy.directTLS;
    }
Add or replace TLS filter in all channels of this acceptor
xmppserver/src/main/java/org/jivesoftware/openfire/spi/NettyConnectionAcceptor.java