org.opends.server.tools
Class EncodePassword

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

public class EncodePassword
extends java.lang.Object

This program provides a utility that may be used to interact with the password storage schemes defined in the Directory Server. In particular, it can encode a clear-text password using a specified scheme, and it can also determine whether a given encoded password is the encoded representation of a given clear-text password. Alternately, it can be used to obtain a list of the available password storage scheme names.


Constructor Summary
EncodePassword()
           
 
Method Summary
static int encodePassword(java.lang.String[] args)
          Processes the command-line arguments and performs the requested action.
static int encodePassword(java.lang.String[] args, boolean initializeServer, java.io.OutputStream outStream, java.io.OutputStream errStream)
          Processes the command-line arguments and performs the requested action.
static void main(java.lang.String[] args)
          Processes the command-line arguments and performs the requested action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncodePassword

public EncodePassword()
Method Detail

main

public static void main(java.lang.String[] args)
Processes the command-line arguments and performs the requested action.

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

encodePassword

public static int encodePassword(java.lang.String[] args)
Processes the command-line arguments and performs the requested action.

Parameters:
args - The command-line arguments provided to this program.
Returns:
An integer value that indicates whether processing was successful.

encodePassword

public static int encodePassword(java.lang.String[] args,
                                 boolean initializeServer,
                                 java.io.OutputStream outStream,
                                 java.io.OutputStream errStream)
Processes the command-line arguments and performs the requested action.

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, or null if standard output is not needed.
errStream - The output stream to use for standard error, or null if standard error is not needed.
Returns:
An integer value that indicates whether processing was successful.