Examples of updateUser()


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

      user.setLastPasswordChange(new Date());
      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

Examples of com.changestuffs.server.utils.UserBeanOAM.updateUser()

  public UpdateUserInfoResult execute(UpdateUserInfo action,
      ExecutionContext context) throws ActionException {
    UserService userService = UserServiceFactory.getUserService();
    User user = userService.getCurrentUser();
    UserBeanOAM oam = provider.get();
    oam.updateUser(action, user.getEmail());
    return new UpdateUserInfoResult();
  }

  @Override
  public void undo(UpdateUserInfo action, UpdateUserInfoResult result,
View Full Code Here

Examples of com.eforce.baby.auth.dao.UserDAO.updateUser()

  {
   
    UserDAO dao = (UserDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.UserDAO");
    try
    {
      dao.updateUser(dsName,dbType,userVO);
    }
    catch (DAOException e)
    {
      log.error("ERROR in createUser ",e);
      BusinessException be=new BusinessException(e.getMessage());
View Full Code Here

Examples of com.eforce.baby.auth.delegates.UserBD.updateUser()

          HttpSession session = request.getSession();
          SessionUserVO sessUser = (SessionUserVO) session.getAttribute(IConstants.SESSION_ATTR_USER_SESSION_INFO);
          String dsName = sessUser.getDsName();
          String dbType = sessUser.getDbType();
 
          bd.updateUser(dsName , dbType, userVO);
          log.debug("User Updated Successfully !!!");
 
          request.setAttribute("fwd","/admin/User.do?target=viewUser&id="+userVO.getId());
          actionFrwd=mapping.findForward("pop_success");
 
View Full Code Here

Examples of com.github.hipchat.api.HipChat.updateUser()

        assertNotNull(user);
        assertEquals(user, id);

        String existingTitle = user.getTitle();

        user = hipchat.updateUser(user, null, null, "Temporary Tester", user.isGroupAdmin(), null, null);

        assertEquals("Temporary Tester", user.getTitle());

        user = hipchat.updateUser(user, null, null, existingTitle, user.isGroupAdmin(), null, null);
    }
View Full Code Here

Examples of com.github.hipchat.api.HipChat.updateUser()

        user = hipchat.updateUser(user, null, null, "Temporary Tester", user.isGroupAdmin(), null, null);

        assertEquals("Temporary Tester", user.getTitle());

        user = hipchat.updateUser(user, null, null, existingTitle, user.isGroupAdmin(), null, null);
    }

}
View Full Code Here

Examples of com.lgx8.right.dao.IUserDao.updateUser()

      if(cards.size() == 0)
      {
        user.setCardStart((!"0".equals(user.getCardStart())||user.getCardStart() != null)?(user.getCardStart()+","+cardStart):cardStart);
        user.setCardEnd((!"0".equals(user.getCardEnd())||user.getCardEnd() != null)?(user.getCardEnd()+","+cardEnd):cardEnd);
       
        userDao.updateUser(user);
       
        out.println("1");
      }else
      {
        out.println("2");
View Full Code Here

Examples of com.lgx8.right.service.IUserCardService.updateUser()

        rtUser.setOrganization(true);
      }
      // 设置当前登录时间ip 下次登录时拿上次的登录时间ip
      authuser.setLastlogin(new Date());
      authuser.setIp(request.getRemoteAddr());
      userCardService.updateUser(authuser);
     
      /*String url = "/page/management/member/member_welcome.jsp";
      if (rtUser.isIsmanager()) {
        url = "/page/management/common/main.jsp";
        rtUser.setUrl(url); 
View Full Code Here

Examples of com.sun.appserv.management.config.AuthRealmConfig.updateUser()

            AuthRealmConfig aRealm = (AuthRealmConfig)realms.get((String)handlerCtx.getInputValue("Realm"));
            String grouplist = (String)handlerCtx.getInputValue("GroupList");
            String[] groups = GuiUtil.stringToArray(grouplist, ",");
            String password = (String)handlerCtx.getInputValue("Password");
            String userid = (String)handlerCtx.getInputValue("UserId");
            aRealm.updateUser(userid, password, groups);
        }catch(Exception ex){
            GuiUtil.handleException(handlerCtx, ex);
        }
    }
   
View Full Code Here

Examples of com.sun.enterprise.security.auth.realm.Realm.updateUser()

        checkSupportsUserManagement(realmName);
       
        try
        {
            final Realm realm = getRealm(realmName);
            realm.updateUser(existingUser, newUser, password.toCharArray(), groupList);
            realm.persist();
        }
        catch( final Exception e )
        {
            throw new RuntimeException(e);
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.