130131132133134135136137138139140
} /** * Transmit the message back to the client. */ successfulMsg.sendNowWith(bus); } catch (LoginException e) { /** * The login failed. How upsetting. Life must go on, and we must inform the client of the * unfortunate news.
103104105106107108109110111112113
if (subject != null) { reply.set(SecurityParts.Roles, subject.toRolesString()); reply.set(SecurityParts.Name, subject.getUsername()); } reply.sendNowWith(bus); } }); configurator.configure(); }