public void serverStarted(DarkstarRunner runner,
ServerSessionManager mgr)
{
try {
WonderlandSession session = mgr.createSession();
context.setAttribute(SESSION_ATTR, session);
SecurityCacheConnection conn = new SecurityCacheConnection();
session.connect(conn);
context.setAttribute(SECURITY_CACHE_CONN_ATTR, conn);
} catch (ConnectionFailureException ex) {
logger.log(Level.SEVERE, null, ex);
} catch (LoginFailureException ex) {
logger.log(Level.WARNING, "Login failed");