aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Blewitt2013-12-08 12:20:17 (EST)
committerAlex Blewitt2013-12-08 12:28:17 (EST)
commit35033c8021dde91c3dab707604ceb3df689a7d10 (patch)
tree2b1c9c40d5ff1854b37d22f0dc3e2783ed00a706
parentdef1c2c2f9784decdc5d23d3a7e3839604852e41 (diff)
downloadrt.equinox.bundles-35033c8021dde91c3dab707604ceb3df689a7d10.zip
rt.equinox.bundles-35033c8021dde91c3dab707604ceb3df689a7d10.tar.gz
rt.equinox.bundles-35033c8021dde91c3dab707604ceb3df689a7d10.tar.bz2
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>
-rwxr-xr-xbundles/org.eclipse.equinox.console.ssh/src/org/eclipse/equinox/console/ssh/UserAdminCommand.java6
1 files changed, 3 insertions, 3 deletions
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 @@ public class UserAdminCommand {
}
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 @@ public class UserAdminCommand {
}
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 @@ public class UserAdminCommand {
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;
}