public final class PasswordResetForAD extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
encodePassword(String password)
Encode new password in UTF-16LE format for use with Active Directory.
|
static void |
main(String[] args)
Reset a user password in Microsoft Active Directory.
|
public static void main(String[] args)
args - The command line arguments: host, port, "admin"|"self",
DN, password, targetDN, newPasswordpublic static byte[] encodePassword(String password)
password - String representation of the passwordCopyright © 2011-2015 ForgeRock AS. All Rights Reserved.