You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ko...@apache.org on 2013/10/11 20:12:07 UTC
[2/2] git commit: updated refs/heads/master to 47dd1c1
removed PasswordGenerator.main
unused method, probably for debugging/testing purposes
Signed-off-by: Laszlo Hornyak <la...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b76e501d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b76e501d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b76e501d
Branch: refs/heads/master
Commit: b76e501d265690b8d035fc01d44aea95d4fdfed1
Parents: 5cc411a
Author: Laszlo Hornyak <la...@gmail.com>
Authored: Thu Oct 10 20:22:22 2013 +0200
Committer: Laszlo Hornyak <la...@gmail.com>
Committed: Fri Oct 11 20:09:37 2013 +0200
----------------------------------------------------------------------
utils/src/com/cloud/utils/PasswordGenerator.java | 9 ---------
1 file changed, 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b76e501d/utils/src/com/cloud/utils/PasswordGenerator.java
----------------------------------------------------------------------
diff --git a/utils/src/com/cloud/utils/PasswordGenerator.java b/utils/src/com/cloud/utils/PasswordGenerator.java
index 022afd0..2e1cb17 100644
--- a/utils/src/com/cloud/utils/PasswordGenerator.java
+++ b/utils/src/com/cloud/utils/PasswordGenerator.java
@@ -95,13 +95,4 @@ public class PasswordGenerator {
return newPassword.toString();
}
-
- public static void main(String [] args) {
- for (int i=0; i < 100; i++) {
- System.out.println("PSK: " + generatePresharedKey(24));
- }
- for (int i=0; i < 100; i++) {
- System.out.println("Password: " + generateRandomPassword(6));
- }
- }
}