if(password == null) {
_logger.severe(sm.getString("enterprise.tools.upgrade.cli.password_error", nssPwdFile));
System.exit(1);
}
commonInfo.setCertDbPassword(password);
commonInfo.setNSSPwdFile(nssPwdFile);
if(!interactiveMap.containsKey("source"))
return;
boolean validpwd = PasswordVerifier.verifySourceNSSPassword(commonInfo);
if(!validpwd) {
commonInfo.recover();
_logger.severe(sm.getString("enterprise.tools.upgrade.cli.Invalid_nss_password"));
System.exit(1);
}
interactiveMap.put(ArgsParser.NSSPWD + "-" + commonInfo.getCurrentDomain(), password);