this.config = config;
}
@Override
protected ProtocolSession createSession(ChannelHandlerContext ctx) throws Exception {
RemoteManagerSession rSession = new NettyRemoteManagerSession(config, logger, ctx.getChannel());
rSession.getState().put(RemoteManagerSession.CURRENT_USERREPOSITORY, "LocalUsers");
return rSession;
}