code: public void invalidateToken(CmsUser user, String token) throws CmsException {
  
          Token tokenObj = new Token(token);
          if (tokenObj.isValid()) {
              String addInfoKey = tokenObj.getAdditionalInfoKey();
              if (null != user.getAdditionalInfo().remove(addInfoKey)) {
                  m_adminCms.writeUser(user);
              }
          }
      }
docs: Invalidates all tokens for the given user.<p>
  
  @param user the user
  @param token the token string
  
  @throws CmsException if something goes wrong