Examples of changePassword()


Examples of com.sun.enterprise.security.store.PasswordAdapter.changePassword()

        //Change the password of the keystore alias file
        if (passwordAliases.exists()) {
            try {
                PasswordAdapter p = new PasswordAdapter(passwordAliases.getAbsolutePath(),
                    oldPassword.toCharArray());
                p.changePassword(newPassword.toCharArray());
            } catch (Exception ex) {
                throw new RepositoryException(
                    _strMgr.getString("passwordAliasPasswordNotChanged", passwordAliases), ex);
            }
        }           
View Full Code Here

Examples of com.sun.enterprise.security.store.PasswordAdapter.changePassword()

        //Change the password of the keystore alias file
        if (passwordAliases.exists()) {
            try {
                PasswordAdapter p = new PasswordAdapter(passwordAliases.getAbsolutePath(),
                    oldPassword.toCharArray());
                p.changePassword(newPassword.toCharArray());
            } catch (Exception ex) {
                throw new RepositoryException(
                    _strMgr.getString("passwordAliasPasswordNotChanged", passwordAliases), ex);
            }
        }           
View Full Code Here

Examples of domain.UserDomainController.changePassword()

  }

    public void updateUser(String username, String password) {
        UserDomainController userContrl = UserDomainController.getInstance();
        userContrl.changeUsername(username);
        userContrl.changePassword(password);
    }

    public boolean logged() {
        return _id == 0;
    }
View Full Code Here

Examples of edu.stanford.bmir.protege.web.client.chgpwd.ChangePasswordPresenter.changePassword()

            }

            @Override
            public void onSuccess() {
                ChangePasswordPresenter changePasswordPresenter = new ChangePasswordPresenter(Application.get().getUserId());
                changePasswordPresenter.changePassword();
            }
        });
    }
}
View Full Code Here

Examples of es.ipsa.atril.sec.admin.AdministeredUser.changePassword()

      AdministeredUser oUsr = oAam.getUser(sNickName);
      super.save(oSes);
      if (!sFormer1stName.equals(getFirstName())) oUsr.setFirstName(getFirstName());
      if (!sFormer2ndName.equals(getLastName())) oUsr.setLastName(getLastName());
      if (!sFormerPassword.equals(getPassword())) {
        oUsr.changePassword(sFormerPassword, getPassword());
      }
      oAam.updateUser(oUsr);
    } else {
      super.save(oSes);     
    }
View Full Code Here

Examples of hirondelle.fish.access.password.PasswordDAO.changePassword()

  /** Apply the change to the database.  */
  protected void apply() throws DAOException {
    //Change requires both the new and the old.
    PasswordDAO dao = new PasswordDAO();
    boolean success = dao.changePassword(fOldUser, fNewUser);
    if (success){
      addMessage("Password for _1_ updated successfully.", fNewUser.getName());
    }
    else {
      addError("Password not updated. Please verify old password.");
View Full Code Here

Examples of lineage2.gameserver.utils.SecondaryPasswordAuth.changePassword()

    {
      exVal = spa.savePassword(_password);
    }
    else if ((_changePass == 2) && spa.passwordExist())
    {
      exVal = spa.changePassword(_password, _newPassword);
    }
    if (exVal)
    {
      getClient().sendPacket(new Ex2ndPasswordAck(Ex2ndPasswordAck.SUCCESS));
    }
View Full Code Here

Examples of models.User.changePassword()

                flash("error", Messages.get("error.technical"));
                return badRequest(reset.render(resetForm, token));
            }

            String password = resetForm.get().inputPassword;
            user.changePassword(password);

            // Send email saying that the password has just been changed.
            sendPasswordChanged(user);
            flash("success", Messages.get("resetpassword.success"));
            return ok(reset.render(resetForm, token));
View Full Code Here

Examples of net.datacrow.core.security.SecurityCentre.changePassword()

                String newPass2 = String.valueOf(fldNewPassword2.getPassword());

                if (newPass1.length() == 0 || newPass2.length() == 0) {
                    DcSwingUtilities.displayMessage("msgPleaseEnterNewPassword");
                } else if (newPass1.equals(newPass2)){
                    sc.changePassword(su.getUser(), newPass1);
                    close();
                } else {
                    DcSwingUtilities.displayMessage("msgPasswordsDoNotMatch");
                }
               
View Full Code Here

Examples of net.sourceforge.pebble.security.SecurityRealm.changePassword()

      if (usernames != null) {
        for (String username : usernames) {
          if (submit.equalsIgnoreCase("Remove")) {
            realm.removeUser(username);
          } else if (submit.equalsIgnoreCase("Reset Password")) {
            realm.changePassword(username, "password");
          }
        }
      }

      return new RedirectView(blog.getUrl() + "viewUsers.secureaction");
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.