| | |
| | | } |
| | | } |
| | | |
| | | if (argParser.getSecureArgsList().bindPasswordFileArg.isPresent()) |
| | | if (argParser.getSecureArgsList().getBindPasswordFileArg().isPresent()) |
| | | { |
| | | try |
| | | { |
| | |
| | | .valuePlaceholder(INFO_BINDPWD_FILE_PLACEHOLDER.get()) |
| | | .buildArgument(); |
| | | userProvidedAdminPwdFile.getNameToValueMap().putAll( |
| | | argParser.getSecureArgsList().bindPasswordFileArg.getNameToValueMap()); |
| | | argParser.getSecureArgsList().getBindPasswordFileArg().getNameToValueMap()); |
| | | } |
| | | catch (Throwable t) |
| | | { |
| | |
| | | else if (bindDn1 == null) |
| | | { |
| | | pwd = adminPwd; |
| | | if (argParser.getSecureArgsList().bindPasswordFileArg.isPresent()) |
| | | if (argParser.getSecureArgsList().getBindPasswordFileArg().isPresent()) |
| | | { |
| | | pwdFile = argParser.getSecureArgsList().bindPasswordFileArg. |
| | | pwdFile = argParser.getSecureArgsList().getBindPasswordFileArg(). |
| | | getNameToValueMap(); |
| | | } |
| | | } |
| | |
| | | uData.getServer1().setSecureReplication(secureReplication1); |
| | | uData.getServer1().setConfigureReplicationServer(configureReplicationServer1); |
| | | uData.getServer1().setConfigureReplicationDomain(configureReplicationDomain1); |
| | | firstServerCommandBuilder = new CommandBuilder(null, null); |
| | | firstServerCommandBuilder = new CommandBuilder(); |
| | | if (mustPrintCommandBuilder()) |
| | | { |
| | | firstServerCommandBuilder.append(sourceServerCI.getCommandBuilder()); |
| | |
| | | { |
| | | doNotDisplayFirstError = true; |
| | | pwd = adminPwd; |
| | | if (argParser.getSecureArgsList().bindPasswordFileArg.isPresent()) |
| | | if (argParser.getSecureArgsList().getBindPasswordFileArg().isPresent()) |
| | | { |
| | | pwdFile = argParser.getSecureArgsList().bindPasswordFileArg. |
| | | pwdFile = argParser.getSecureArgsList().getBindPasswordFileArg(). |
| | | getNameToValueMap(); |
| | | } |
| | | } |
| | |
| | | int portSource = argParser.getPortSource(); |
| | | |
| | | Map<String, String> pwdFile = null; |
| | | if (argParser.getSecureArgsList().bindPasswordFileArg.isPresent()) |
| | | if (argParser.getSecureArgsList().getBindPasswordFileArg().isPresent()) |
| | | { |
| | | pwdFile = argParser.getSecureArgsList().bindPasswordFileArg.getNameToValueMap(); |
| | | pwdFile = argParser.getSecureArgsList().getBindPasswordFileArg().getNameToValueMap(); |
| | | } |
| | | |
| | | /* |
| | |
| | | uData.setAdminPwd(adminPwd); |
| | | } |
| | | |
| | | firstServerCommandBuilder = new CommandBuilder(null, null); |
| | | firstServerCommandBuilder = new CommandBuilder(); |
| | | if (mustPrintCommandBuilder()) |
| | | { |
| | | firstServerCommandBuilder.append(sourceServerCI.getCommandBuilder()); |