Examples of resetPassword()


Examples of com.secretpal.model.SPPerson.resetPassword()

  }

  public static boolean sendResetPasswordEmail(SPPerson person, WOContext context, SPNoticeList errorNoticeList) {
    EOEditingContext editingContext = ERXEC.newEditingContext();
    SPPerson localPerson = person.localInstanceIn(editingContext);
    localPerson.resetPassword();
    editingContext.saveChanges();

    WOContext contextClone = (WOContext) context.clone();
    SPResetPasswordEmail resetPasswordEmail = ERXApplication.erxApplication().pageWithName(SPResetPasswordEmail.class, contextClone);
    resetPasswordEmail.setPerson(person);
View Full Code Here

Examples of com.tll.service.IForgotPasswordHandler.resetPassword()

    else {
      final ForgotPasswordServiceContext context = getContext();
      try {
        final IForgotPasswordHandler handler = context.getForgotPasswordHandler();
        final IUserRef user = handler.getUserRef(emailAddress);
        final String rp = handler.resetPassword(user.getId());
        data.put("username", user.getUsername());
        data.put("emailAddress", user.getEmailAddress());
        data.put("password", rp);
        final MailManager mailManager = context.getMailManager();
        final MailRouting mr = mailManager.buildAppSenderMailRouting(user.getEmailAddress());
View Full Code Here

Examples of edu.stanford.bmir.protege.web.client.chgpwd.ResetPasswordPresenter.resetPassword()

    private ClickHandler getForgotPasswordClickListener() {
        return new ClickHandler() {
            public void onClick(ClickEvent event) {
                ResetPasswordPresenter presenter = new ResetPasswordPresenter(DispatchServiceManager.get(), new ResetPasswordViewImpl());
                presenter.resetPassword();
            }
        };
    }

    private void performSignIn(final boolean isLoginWithHttps, final Window win, final TextBox userNameField, final TextBox passwordField) {
View Full Code Here

Examples of models.User.resetPassword()

      final User u = ta.targetUser;
      try {
        // Pass true for the second parameter if you want to
        // automatically create a password and the exception never to
        // happen
        u.resetPassword(new MyUsernamePasswordAuthUser(newPassword),
            false);
      } catch (final RuntimeException re) {
        flash(Application.FLASH_MESSAGE_KEY,
            Messages.get("playauthenticate.reset_password.message.no_password_account"));
      }
View Full Code Here

Examples of org.apache.roller.pojos.UserData.resetPassword()

                if (    !StringUtils.isEmpty(form.getPasswordText())
                     && !StringUtils.isEmpty(form.getPasswordConfirm()))
                {
                    try
                    {
                        data.resetPassword(RollerFactory.getRoller(),
                           form.getPasswordText(),
                           form.getPasswordConfirm());
                    }
                    catch (RollerException e)
                    {
View Full Code Here

Examples of org.apache.roller.pojos.UserData.resetPassword()

                    // Must have matching passwords and confirm passwords
                    if (    !StringUtils.isEmpty(userForm.getPasswordText())
                         && !StringUtils.isEmpty(userForm.getPasswordConfirm()))
                    {
                        try {
                            user.resetPassword(RollerFactory.getRoller(),
                               userForm.getPasswordText(),
                               userForm.getPasswordConfirm());
                        } catch (RollerException e) {
                            msgs.add(ActionErrors.GLOBAL_ERROR,
                            new ActionError("userSettings.passwordResetError"));
View Full Code Here

Examples of org.apache.roller.pojos.UserData.resetPassword()

                    // If user set both password and passwordConfirm then reset
                    if (    !StringUtils.isEmpty(userForm.getPasswordText())
                         && !StringUtils.isEmpty(userForm.getPasswordConfirm()))
                    {
                        try {
                            user.resetPassword(RollerFactory.getRoller(),
                               userForm.getPasswordText(),
                               userForm.getPasswordConfirm());
                        } catch (RollerException e) {
                            msgs.add(ActionErrors.GLOBAL_ERROR,
                                new ActionMessage(
View Full Code Here

Examples of org.apache.roller.pojos.UserData.resetPassword()

            // If user set both password and passwordConfirm then reset password
            if (    !StringUtils.isEmpty(form.getPasswordText())
                 && !StringUtils.isEmpty(form.getPasswordConfirm()))
            {
               ud.resetPassword(RollerFactory.getRoller(),
                  form.getPasswordText(), form.getPasswordConfirm());
            }
           
            // save new user
            mgr.addUser(ud);
View Full Code Here

Examples of org.apache.roller.pojos.UserData.resetPassword()

                   
                    // Must have matching passwords and confirm passwords
                    if (    !StringUtils.isEmpty(userForm.getPasswordText())
                    && !StringUtils.isEmpty(userForm.getPasswordConfirm())) {
                        try {
                            user.resetPassword(RollerFactory.getRoller(),
                                    userForm.getPasswordText(),
                                    userForm.getPasswordConfirm());
                        } catch (RollerException e) {
                            msgs.add(ActionErrors.GLOBAL_ERROR,
                                    new ActionError("userSettings.passwordResetError"));
View Full Code Here

Examples of org.apache.roller.pojos.UserData.resetPassword()

                   
                    // If user set both password and passwordConfirm then reset
                    if (    !StringUtils.isEmpty(userForm.getPasswordText())
                    && !StringUtils.isEmpty(userForm.getPasswordConfirm())) {
                        try {
                            user.resetPassword(RollerFactory.getRoller(),
                                    userForm.getPasswordText(),
                                    userForm.getPasswordConfirm());
                        } catch (RollerException e) {
                            msgs.add(ActionErrors.GLOBAL_ERROR,
                                    new ActionMessage(
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.