final RexProRequest request = ctx.getMessage();
request.process();
final RexProMessage message = request.getRequestMessage();
if (message instanceof SessionRequestMessage && !message.hasSession()) {
final SessionRequestMessage specificMessage = (SessionRequestMessage) message;
if (!specificMessage.metaGetKillSession()) {
final String username = specificMessage.Username;
final String password = specificMessage.Password;
if (!authenticate(username, password)) {
// there is no session to this message...that's a problem
final ErrorResponseMessage errorMessage = new ErrorResponseMessage();