geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siss...@insession.com
Subject RE: [jira] Updated: (GERONIMO-478) Deployer must not echo password when prompting
Date Wed, 08 Dec 2004 04:18:23 GMT
Is this code originally from 
http://forum.java.sun.com/thread.jspa?forumID=9&threadID=490728 or 
http://forum.java.sun.com/thread.jspa?threadID=542790&messageID=2667479 , 
if so shouldn't the notice be included somewhere (link to notice on bottom 
right of pages)?

Dotting the I's and crossing the T's..

John




"Chandresh Taunk" <chandresh_taunk@hotmail.com> 
08/12/2004 11:45 AM
Please respond to
dev@geronimo.apache.org


To
<dev@geronimo.apache.org>
cc

Subject
RE: [jira] Updated: (GERONIMO-478) Deployer must not echo password when 
prompting






Sorry about that. I've attached another patch to the issue on JIRA. I
couldn't figure out how to delete the previous one. The correct patch is
bigger in size.

-Chandresh

-----Original Message-----
From: Dain Sundstrom [mailto:dsundstrom@gluecode.com] 
Sent: Tuesday, December 07, 2004 2:58 PM
To: dev@geronimo.apache.org
Subject: Re: [jira] Updated: (GERONIMO-478) Deployer must not echo 
password
when prompting

 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