Esempio n. 1
0
  private void handleUpdateRequest(
      final PwmRequest pwmRequest, final UpdateProfileBean updateProfileBean)
      throws PwmUnrecoverableException, ChaiUnavailableException, IOException, ServletException {

    try {
      readFormParametersFromRequest(pwmRequest, updateProfileBean);
    } catch (PwmOperationalException e) {
      LOGGER.error(pwmRequest, e.getMessage());
      pwmRequest.setResponseError(e.getErrorInformation());
    }

    updateProfileBean.setFormSubmitted(true);
  }
Esempio n. 2
0
 private void handleUnconfirm(final UpdateProfileBean updateProfileBean) {
   updateProfileBean.setFormSubmitted(false);
   updateProfileBean.setConfirmationPassed(false);
 }