org.opends.server.tools
Class LDAPPasswordModify

java.lang.Object
  extended by org.opends.server.tools.LDAPPasswordModify

public class LDAPPasswordModify
extends java.lang.Object

This program provides a utility that uses the LDAP password modify extended operation to change the password for a user. It exposes the three primary options available for this operation, which are:

All of these are optional components that may be included or omitted from the request.


Constructor Summary
LDAPPasswordModify()
           
 
Method Summary
static void main(java.lang.String[] args)
          Parses the command-line arguments, establishes a connection to the Directory Server, sends the password modify request, and reads the response.
static int mainPasswordModify(java.lang.String[] args)
          Parses the command-line arguments, establishes a connection to the Directory Server, sends the password modify request, and reads the response.
static int mainPasswordModify(java.lang.String[] args, boolean initializeServer, java.io.OutputStream outStream, java.io.OutputStream errStream)
          Parses the command-line arguments, establishes a connection to the Directory Server, sends the password modify request, and reads the response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPPasswordModify

public LDAPPasswordModify()
Method Detail

main

public static void main(java.lang.String[] args)
Parses the command-line arguments, establishes a connection to the Directory Server, sends the password modify request, and reads the response.

Parameters:
args - The command-line arguments provided to this program.

mainPasswordModify

public static int mainPasswordModify(java.lang.String[] args)
Parses the command-line arguments, establishes a connection to the Directory Server, sends the password modify request, and reads the response.

Parameters:
args - The command-line arguments provided to this program.
Returns:
An integer value of zero if everything completed successfully, or a nonzero value if an error occurred.

mainPasswordModify

public static int mainPasswordModify(java.lang.String[] args,
                                     boolean initializeServer,
                                     java.io.OutputStream outStream,
                                     java.io.OutputStream errStream)
Parses the command-line arguments, establishes a connection to the Directory Server, sends the password modify request, and reads the response.

Parameters:
args - The command-line arguments provided to this program.
initializeServer - Indicates whether to initialize the server.
outStream - The output stream to use for standard output.
errStream - The output stream to use for standard error.
Returns:
An integer value of zero if everything completed successfully, or a nonzero value if an error occurred.