Commit 9e409e60 authored by Dave Cridland's avatar Dave Cridland

OF-916 Add SslFilter before Executor

Addressing DIRMINA-1012
parent ad6fb662
......@@ -435,7 +435,7 @@ public class NIOConnection implements Connection {
// good
filter.setWantClientAuth(true);
}
ioSession.getFilterChain().addAfter(EXECUTOR_FILTER_NAME, TLS_FILTER_NAME, filter);
ioSession.getFilterChain().addBefore(EXECUTOR_FILTER_NAME, TLS_FILTER_NAME, filter);
ioSession.setAttribute(SslFilter.DISABLE_ENCRYPTION_ONCE, Boolean.TRUE);
if (!clientMode) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment