Skip to content

Commit

Permalink
Merge pull request #23784 from arjantijms/6.x
Browse files Browse the repository at this point in the history
Fix #23772 The create-file-user subcommand with passwordfile option i…
  • Loading branch information
arjantijms authored Feb 6, 2022
2 parents f0fa5a1 + c95aeb3 commit 9edf90f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2022 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand Down Expand Up @@ -98,7 +99,7 @@ ParameterMap getParameters(String command, String[] args) throws CommandExceptio
if (globalOptions.size() > 0) {
String pwfile = globalOptions.getOne(ProgramOptions.PASSWORDFILE);
if (pwfile != null && pwfile.length() > 0) {
Map<String, String> passwords = CLIUtil.readPasswordFileOptions(pwfile, true);
Map<String, String> passwords = CLIUtil.readPasswordFileOptions(pwfile, false);
for (CommandModel.ParamModel opt : commandModel.getParameters()) {
if (opt.getParam().password()) {
String pwdname = opt.getName();
Expand Down

0 comments on commit 9edf90f

Please sign in to comment.