Ejemplo n.º 1
0
 private static void createUser(String login, String name) {
   adminWsClient
       .wsConnector()
       .call(
           new PostRequest("api/users/create")
               .setParam("login", login)
               .setParam("name", name)
               .setParam("password", "123456"));
 }
Ejemplo n.º 2
0
 private static void deleteGroup(String groupName) {
   adminWsClient
       .wsConnector()
       .call(new PostRequest("api/user_groups/delete").setParam("name", groupName));
 }
Ejemplo n.º 3
0
 private static void deactivateUser(String login) {
   adminWsClient
       .wsConnector()
       .call(new PostRequest("api/users/deactivate").setParam("login", login));
 }