code: public void clearLoginMessage() throws CmsRoleViolationException {
  
          OpenCms.getLoginManager().setLoginMessage(m_cms, null);
          OpenCms.writeConfiguration(CmsVariablesConfiguration.class);
      }
docs: Clears the login message.<p>
  
  @throws CmsRoleViolationException if this is not called with the correct privileges