| | |
| | | * |
| | | * |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2011-2012 ForgeRock AS |
| | | * Portions copyright 2011-2013 ForgeRock AS |
| | | */ |
| | | |
| | | package com.forgerock.opendj.ldap.tools; |
| | |
| | | import static com.forgerock.opendj.ldap.tools.Utils.filterExitCode; |
| | | |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.forgerock.opendj.ldap.ByteString; |
| | | import org.forgerock.opendj.ldap.Connection; |
| | | import org.forgerock.opendj.ldap.ConnectionFactory; |
| | | import org.forgerock.opendj.ldap.DecodeException; |
| | |
| | | |
| | | if (result.getGeneratedPassword() != null) { |
| | | message = |
| | | INFO_LDAPPWMOD_GENERATED_PASSWORD.get(result.getGeneratedPassword().toString()); |
| | | INFO_LDAPPWMOD_GENERATED_PASSWORD.get(ByteString.valueOf( |
| | | result.getGeneratedPassword()).toString()); |
| | | println(message); |
| | | } |
| | | |