LOG.info("Acceptor is rejecting logon for " + exchange.getIn().getHeader(QuickfixjEndpoint.SESSION_ID_KEY));
Message message = ExchangeHelper.getMandatoryInBody(exchange, Message.class);
if (message.isSetField(RawData.FIELD)) {
LOG.info("Invalid password: " + message.getString(RawData.FIELD));
}
throw new RejectLogon("Rejecting logon for test purposes");
}