code: public void applyChanges() throws CmsException {
  
          if (m_userName == null) {
              throw new CmsIllegalStateException(Messages.get().container(Messages.ERR_INVALID_USER_CONTEXT_0));
          }
          validate();
          m_cms.setPassword(m_userName, getCurrentPwd(), getNewPwd());
      }
docs: Sets the new password for the current logged in user.<p>
  
  @throws CmsException if something goes wrong