// add and IP filter to the filter chain.
acceptor.getFilterChain().addLast("ipFilter", new MinaIpFilter(ipFilter));
}
acceptor.getFilterChain().addLast("threadPool",
new ExecutorFilter(context.getThreadPoolExecutor()));
acceptor.getFilterChain().addLast("codec",
new ProtocolCodecFilter(new FtpServerProtocolCodecFactory()));
acceptor.getFilterChain().addLast("mdcFilter2", mdcFilter);
acceptor.getFilterChain().addLast("logger", new FtpLoggingFilter());