You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2008/11/25 05:08:36 UTC

svn commit: r720405 - /geronimo/gshell/trunk/gshell-commands/gshell-remote/src/main/java/org/apache/geronimo/gshell/commands/remote/RshAction.java

Author: jdillon
Date: Mon Nov 24 20:08:35 2008
New Revision: 720405

URL: http://svn.apache.org/viewvc?rev=720405&view=rev
Log:
read password as a passowrd

Modified:
    geronimo/gshell/trunk/gshell-commands/gshell-remote/src/main/java/org/apache/geronimo/gshell/commands/remote/RshAction.java

Modified: geronimo/gshell/trunk/gshell-commands/gshell-remote/src/main/java/org/apache/geronimo/gshell/commands/remote/RshAction.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-remote/src/main/java/org/apache/geronimo/gshell/commands/remote/RshAction.java?rev=720405&r1=720404&r2=720405&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-commands/gshell-remote/src/main/java/org/apache/geronimo/gshell/commands/remote/RshAction.java (original)
+++ geronimo/gshell/trunk/gshell-commands/gshell-remote/src/main/java/org/apache/geronimo/gshell/commands/remote/RshAction.java Mon Nov 24 20:08:35 2008
@@ -124,7 +124,7 @@
 
             if (password == null) {
                 text = messages.getMessage("prompt.password");
-                password = prompter.readLine(text + ": ", new UsernamePasswordValidator(text));
+                password = prompter.readPassword(text + ": ", new UsernamePasswordValidator(text));
             }
         }