You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Chandresh Taunk (JIRA)" <de...@geronimo.apache.org> on 2004/12/07 23:33:10 UTC
[jira] Updated: (GERONIMO-478) Deployer must not echo password when prompting
[ 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
RE: [jira] Updated: (GERONIMO-478) Deployer must not echo password when
prompting
Posted by si...@insession.com.
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" <ch...@hotmail.com>
08/12/2004 11:45 AM
Please respond to
dev@geronimo.apache.org
To
<de...@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
RE: [jira] Updated: (GERONIMO-478) Deployer must not echo password when prompting
Posted by Chandresh Taunk <ch...@hotmail.com>.
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
Re: [jira] Updated: (GERONIMO-478) Deployer must not echo password when prompting
Posted by Dain Sundstrom <ds...@gluecode.com>.
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