Package org.opends.server.tools
Class EncodePassword
- java.lang.Object
-
- org.opends.server.tools.EncodePassword
-
public class EncodePassword extends 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
Constructors Constructor Description EncodePassword()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intencodePassword(String[] args)Processes the command-line arguments and performs the requested action.static intencodePassword(String[] args, boolean initializeServer, OutputStream outStream, OutputStream errStream)Processes the command-line arguments and performs the requested action.static voidmain(String[] args)Processes the command-line arguments and performs the requested action.
-
-
-
Method Detail
-
main
public static void main(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(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(String[] args, boolean initializeServer, OutputStream outStream, 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, ornullif standard output is not needed.errStream- The output stream to use for standard error, ornullif standard error is not needed.- Returns:
- An integer value that indicates whether processing was successful.
-
-