@Override
            public void userModified(final User user, final Map<String, Object> params) {
                // Set object again in cache. This is done so that other cluster nodes
                // get refreshed with latest version of the user
                userCache.put(user.getUsername(), user);
            }
Cache if a local or remote user exists.
xmppserver/src/main/java/org/jivesoftware/openfire/user/UserManager.java