code: void checkPasswordMatch(String password2) {
  
          if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(password2)) {
              showPasswordMatchError(!password2.equals(m_form.getPassword1()));
          }
      }
docs: Checks whether the passwords match.<p>
  
  @param password2 the password 2 value