if(password == null) {
_logger.severe(sm.getString("enterprise.tools.upgrade.cli.password_error",nssPwdFile));
System.exit(1);
}
commonInfo.setTargetCertDbPassword(password);
commonInfo.setTargetNSSPwdFile(nssPwdFile);
if(!interactiveMap.containsKey("target"))
return;
boolean validpwd = PasswordVerifier.verifyTargetNSSPassword(commonInfo,commonInfo.getTargetConfig());
if(!validpwd) {
commonInfo.recover();
_logger.severe(sm.getString("enterprise.tools.upgrade.cli.Invalid_target_nss_password"));
System.exit(1);
}
interactiveMap.put(ArgsParser.TARGETNSSPWD + "-" + commonInfo.getCurrentDomain(), password);