code: public static void clearToken(CmsObject cms, CmsUser user) throws CmsException {
  
          user.getAdditionalInfo().remove(ADDINFO_KEY);
          cms.writeUser(user);
      }
docs: Removes an authorization token from the user's additional information.<p>
  
  @param cms the CMS context
  @param user the user
  @throws CmsException if something goes wrong