예제 #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);
  }
예제 #2
0
 private void handleUnconfirm(final UpdateProfileBean updateProfileBean) {
   updateProfileBean.setFormSubmitted(false);
   updateProfileBean.setConfirmationPassed(false);
 }