} catch (Exception e) {
log.warn("cannot get local host name, weird - bailing on auth.");
}
if (userMap.containsKey(host)) {
User user = (User)userMap.get(host);
if (userMap.remove(host) == null)
log.error( "could not remove " + user.getUsername() + "@" + host + " from user map, weird.");
else
log.info( user.getUsername() + "@" + host + " logs out");
} else
log.error( host + " logs out but is not in the user map, weird.");
}