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

Examples of com.agiletec.aps.system.services.user.User


 
  public void testRecoverFromUsername_RecoverFromEmail() throws Throwable{
    String username = "username_test";
    try {
      this.insertTestProfile(username);
      User user = (User) _userManager.getUser(username);
      assertNotNull(user);
      IUserProfile profile = (IUserProfile) user.getProfile();
      assertNotNull(profile);
      String token_0 = this._testHelper.getTokenFromUsername(username);
      assertNotNull(token_0);
     
      this.initAction("/do/jpuserreg/UserReg", "recoverFromUsername");
View Full Code Here


  @Override
  public String save() {
    AbstractUser user = null;
    try {
      if (this.getStrutsAction() == ApsAdminSystemConstants.ADD) {
        user = new User();
        user.setUsername(this.getUsername());
        user.setPassword(this.getPassword());
      } else if (this.getStrutsAction() == ApsAdminSystemConstants.EDIT) {
        user = (AbstractUser) this.getUserManager().getUser(this.getUsername());
        if (null != this.getPassword() && this.getPassword().trim().length()>0) {
View Full Code Here

TOP

Related Classes of com.agiletec.aps.system.services.user.User

Copyright © 2018 www.massapicom. 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.