docs: public void actionChangePassword() throws JspException {
  
          // save initialized instance of this class in request attribute for included sub-elements
          getJsp().getRequest().setAttribute(SESSION_WORKPLACE_CLASS, this);
          String newPwd = getParamNewPassword();
          String oldPwd = getParamOldPassword();
          // set the action parameter, reset the password parameters
          setAction(ACTION_DEFAULT);
          setParamOldPassword(null);
          setParamNewPassword(null);
  
          try {
              CmsPasswordInfo pwdInfo = new CmsPasswordInfo(getCms());
              pwdInfo.setCurrentPwd(oldPwd);
              pwdInfo.setNewPwd(newPwd);
              pwdInfo.setConfirmation(newPwd);
              pwdInfo.applyChanges();
          } catch (Throwable e) {
              // failed setting the new password, show error dialog
              setAction(ACTION_ERROR);
              includeErrorpage(this, e);
          }
      }