Rename symblos to characters
A copy-and-paste typo for the UserAdminCommand existed, whereby
the initial prompt would suggest that a password not meeting the
minimum password length would not be appropriate. Changing the
error message from symblos to characters makes it easier to understand.
Bug: 423541
Change-Id: Ieee0525b68baddd4c2f1b77c160a8ec3cc00ed23
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
diff --git a/bundles/org.eclipse.equinox.console.ssh/src/org/eclipse/equinox/console/ssh/UserAdminCommand.java b/bundles/org.eclipse.equinox.console.ssh/src/org/eclipse/equinox/console/ssh/UserAdminCommand.java
index cdf9b46..bea6a4e 100755
--- a/bundles/org.eclipse.equinox.console.ssh/src/org/eclipse/equinox/console/ssh/UserAdminCommand.java
+++ b/bundles/org.eclipse.equinox.console.ssh/src/org/eclipse/equinox/console/ssh/UserAdminCommand.java
@@ -71,7 +71,7 @@
}
if (password.length() < MINIMAL_PASSWORD_LENGTH) {
- throw new Exception("Password should be at least 8 symblos");
+ throw new Exception("Password should be at least 8 characters");
}
SecureUserStore.putUser(username, DigestUtil.encrypt(password), roles);
@@ -111,7 +111,7 @@
}
if (password.length() < MINIMAL_PASSWORD_LENGTH) {
- throw new Exception("Password should be at least 8 symblos");
+ throw new Exception("Password should be at least 8 characters");
}
SecureUserStore.setPassword(username, DigestUtil.encrypt(password));
@@ -359,7 +359,7 @@
System.out.println("Password not specified");
password = null;
} else if (password.length() < MINIMAL_PASSWORD_LENGTH) {
- System.out.println("Password should be at least 8 symblos");
+ System.out.println("Password should be at least 8 characters");
password = null;
}