Package com.aerospike.client.command

Examples of com.aerospike.client.command.AdminCommand.createUser()


   * @throws AerospikeException  if command fails
   */
  public void createUser(AdminPolicy policy, String user, String password, List<String> roles) throws AerospikeException {
    String hash = AdminCommand.hashPassword(password);
    AdminCommand command = new AdminCommand();
    command.createUser(cluster, policy, user, hash, roles);
  }
 
  /**
   * Remove user from cluster.
   *
 
View Full Code Here


   * @throws AerospikeException  if command fails
   */
  public void createUser(AdminPolicy policy, String user, String password, List<String> roles) throws AerospikeException {
    String hash = AdminCommand.hashPassword(password);
    AdminCommand command = new AdminCommand();
    command.createUser(cluster, policy, user, hash, roles);
  }
 
  /**
   * Remove user from cluster.
   *
 
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.