Examples of updateUser()


Examples of org.pentaho.platform.security.userroledao.ws.IUserRoleWebService.updateUser()

    isAdmin = true;

    Assert.assertEquals( "test", userRoleDao.getUser( null, "test1" ).getDescription() );

    service.updateUser( userObj );

    Assert.assertEquals( "testUpdateUser", userRoleDao.getUser( null, "test1" ).getDescription() );
  }

  @Test
View Full Code Here

Examples of org.sonatype.security.usermanagement.UserManager.updateUser()

      throw new InvalidConfigurationException("UserManager: " + userManager.getSource()
          + " does not support writing.");
    }

    final User oldUser = userManager.getUser(user.getUserId());
    userManager.updateUser(user);
    if (oldUser.getStatus() == UserStatus.active && user.getStatus() != oldUser.getStatus()) {
      // clear the realm authc caches as user got disabled
      eventBus.post(new UserPrincipalsExpired(user.getUserId(), user.getSource()));
    }
View Full Code Here

Examples of talkfeed.UserManager.updateUser()

      id = Long.parseLong(sid);
    }
 
    try {
      UserManager us = new UserManager();
      us.updateUser(id, jid);
    } catch (Exception ex){
      Logger.getLogger("CommandUpdateUser").log(Level.SEVERE,
          "Error update " + jid,ex);
    }
 
View Full Code Here

Examples of talkfeed.UserManager.updateUser()

    String jid = args.get("id");
   
    if (jid == null) return;
   
    UserManager userserv = new UserManager();
    userserv.updateUser(0,jid);
  }

}
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.