Package com.agiletec.aps.system.services.user

Examples of com.agiletec.aps.system.services.user.IUserManager.changePassword()


      user.setPassword(password);
      user.setDisabled(false);
      this.loadUserDefaultRoles(user);
      this.loadUserDefaultGroups(user);
      userManager.updateUser(user);
      userManager.changePassword(username, password);// Per salvare password non in chiaro
      this.getUserRegDAO().removeConsumedToken(token);
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "activateUser");
      throw new ApsSystemException("Error in Account activation", t);
    }
View Full Code Here


      User user = (User) userManager.getUser(username);
      user.setLastPasswordChange(new Date());
      user.setPassword(password);
      user.setDisabled(false);
      userManager.updateUser(user);
      userManager.changePassword(username, password);// Per salvare password non in chiaro
      this.getUserRegDAO().removeConsumedToken(token);
    } catch (Throwable t) {
      ApsSystemUtils.logThrowable(t, this, "reactivateUser");
      throw new ApsSystemException("Error in Account activation", t);
    }
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.