geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <dsundst...@gluecode.com>
Subject Re: [jira] Updated: (GERONIMO-478) Deployer must not echo password when prompting
Date Tue, 07 Dec 2004 22:58:22 GMT
 From your patch:

              if(password == null) {
-                out.print("Password: ");
-                out.flush();
-                password = in.readLine();
+                PasswordField passWd = new PasswordField(out, in, 
"Password: ");
+                password = new String(passWd.readConsoleSecure());

I looks like you forgot to add the PasswordField.java file before 
running svn diff?

-dain

--
Dain Sundstrom
Chief Architect
Gluecode Software
310.536.8355, ext. 26

On Dec 7, 2004, at 2:33 PM, Chandresh Taunk (JIRA) wrote:

>      [ http://nagoya.apache.org/jira/browse/GERONIMO-478?page=history ]
>
> Chandresh Taunk updated GERONIMO-478:
> -------------------------------------
>
>     Attachment: geronimo-478.patch
>
>> Deployer must not echo password when prompting
>> ----------------------------------------------
>>
>>          Key: GERONIMO-478
>>          URL: http://nagoya.apache.org/jira/browse/GERONIMO-478
>>      Project: Apache Geronimo
>>         Type: Bug
>>   Components: deployment
>>     Reporter: Jeremy Boynes
>>  Attachments: geronimo-478.patch
>>
>> When no password is specified on the command line the deployer 
>> prompts the user for one.
>> When this is being entered it is echoed onto the screen.
>> On a windows machine the value entered is also displayed if up-arrow 
>> is pressed when being prompted.
>
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://nagoya.apache.org/jira/secure/Administrators.jspa
> -
> If you want more information on JIRA, or have a bug to report see:
>    http://www.atlassian.com/software/jira


Mime
View raw message