| | |
| | | import static com.forgerock.opendj.cli.CliMessages.INFO_DESCRIPTION_BINDPASSWORDFILE; |
| | | import static com.forgerock.opendj.cli.Utils.*; |
| | | import static com.forgerock.opendj.cli.CommonArguments.*; |
| | | import static com.forgerock.opendj.cli.CliMessages.ERR_TOOL_CONFLICTING_ARGS; |
| | | |
| | | import static org.opends.messages.ToolMessages.*; |
| | | import static org.opends.server.protocols.ldap.LDAPResultCode.*; |
| | |
| | | return SUCCESS; |
| | | } |
| | | |
| | | if(bindPassword.isPresent() && bindPasswordFile.isPresent()) |
| | | if (bindPassword.isPresent() && bindPasswordFile.isPresent()) |
| | | { |
| | | printWrappedText( |
| | | err, ERR_TOOL_CONFLICTING_ARGS.get(bindPassword.getLongIdentifier(), bindPasswordFile.getLongIdentifier())); |
| | | printWrappedText(err, conflictingArgsErrorMessage(bindPassword, bindPasswordFile)); |
| | | return CLIENT_SIDE_PARAM_ERROR; |
| | | } |
| | | |