code: public void clear(CmsObject cms, String siteRoot) {
  
          CmsUser originalUser = m_map.getIfPresent(siteRoot);
          if ((originalUser == null) || !originalUser.equals(cms.getRequestContext().getCurrentUser())) {
              return;
          }
          m_map.invalidate(siteRoot);
      }
docs: Clears the entry for a given site root, but only if the user from the given CMS context matches the user in the entry.<p>
  
  @param cms the current CMS context
  @param siteRoot the site root for which the entry should be cleared