conversationRegistry.clear();
}
public void testBasicLogin() throws Exception
{
BasicCallbackHandler handler = new BasicCallbackHandler("exo", "exo".toCharArray());
LoginContext loginContext = new LoginContext("exo", handler);
loginContext.login();
assertNotNull(identityRegistry.getIdentity("exo"));
assertEquals("exo", identityRegistry.getIdentity("exo").getUserId());