Message message)
{
logger.warning("Security cache message " + message + " received from " +
" sender " + clientID);
InvalidateGroupMessage igm = (InvalidateGroupMessage) message;
// invalidate all users identified in the message
WebServiceUserPrincipalResolver resolver = (WebServiceUserPrincipalResolver)
UserPrincipals.getUserPrincipalResolver();
for (String username : igm.getUsernames()) {
resolver.invalidate(username);
}
// invalidate the cell cache for each user in the message
UniverseManager um = AppContext.getManager(UniverseManager.class);
for (String username : igm.getUsernames()) {
UserMO user = UserManager.getUserMO(username);
if (user != null) {
for (ManagedReference<AvatarCellMO> avatars : user.getAllAvatars()) {
um.viewRevalidate(avatars.get());
}