geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandresh Taunk" <chandresh_ta...@hotmail.com>
Subject RE: [jira] Updated: (GERONIMO-478) Deployer must not echo password when prompting
Date Wed, 08 Dec 2004 19:54:27 GMT
<html><div style='background-color:'><DIV class=RTE>
<P>Yes it is. Being a first time contributer I didn't know the steps. Could you point
me to the pasge that says how to do it or to an existing .java file that does a similar thing.</P>
<P>-Chandresh<BR><BR></P></DIV>
<DIV></DIV>From: sissonj@insession.com
<DIV></DIV>Reply-To: dev@geronimo.apache.org
<DIV></DIV>To: dev@geronimo.apache.org
<DIV></DIV>Subject: RE: [jira] Updated: (GERONIMO-478) Deployer must not echo
password when prompting
<DIV></DIV>Date: Wed, 8 Dec 2004 14:18:23 +1000
<DIV></DIV>
<DIV></DIV>Is this code originally from
<DIV></DIV>http://forum.java.sun.com/thread.jspa?forumID=9&amp;threadID=490728
or
<DIV></DIV>http://forum.java.sun.com/thread.jspa?threadID=542790&amp;messageID=2667479
,
<DIV></DIV>if so shouldn't the notice be included somewhere (link to notice on
bottom
<DIV></DIV>right of pages)?
<DIV></DIV>
<DIV></DIV>Dotting the I's and crossing the T's..
<DIV></DIV>
<DIV></DIV>John
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>"Chandresh Taunk" &lt;chandresh_taunk@hotmail.com&gt;
<DIV></DIV>08/12/2004 11:45 AM
<DIV></DIV>Please respond to
<DIV></DIV>dev@geronimo.apache.org
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>To
<DIV></DIV>&lt;dev@geronimo.apache.org&gt;
<DIV></DIV>cc
<DIV></DIV>
<DIV></DIV>Subject
<DIV></DIV>RE: [jira] Updated: (GERONIMO-478) Deployer must not echo password
when
<DIV></DIV>prompting
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>Sorry about that. I've attached another patch to the issue on JIRA.
I
<DIV></DIV>couldn't figure out how to delete the previous one. The correct patch
is
<DIV></DIV>bigger in size.
<DIV></DIV>
<DIV></DIV>-Chandresh
<DIV></DIV>
<DIV></DIV>-----Original Message-----
<DIV></DIV>From: Dain Sundstrom [mailto:dsundstrom@gluecode.com]
<DIV></DIV>Sent: Tuesday, December 07, 2004 2:58 PM
<DIV></DIV>To: dev@geronimo.apache.org
<DIV></DIV>Subject: Re: [jira] Updated: (GERONIMO-478) Deployer must not echo
<DIV></DIV>password
<DIV></DIV>when prompting
<DIV></DIV>
<DIV></DIV>&nbsp;&nbsp;From your patch:
<DIV></DIV>
<DIV></DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
if(password == null) {
<DIV></DIV>-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;out.print("Password:
");
<DIV></DIV>-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;out.flush();
<DIV></DIV>-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;password
= in.readLine();
<DIV></DIV>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PasswordField
passWd = new PasswordField(out, in,
<DIV></DIV>"Password: ");
<DIV></DIV>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;password
= new String(passWd.readConsoleSecure());
<DIV></DIV>
<DIV></DIV>I looks like you forgot to add the PasswordField.java file before
<DIV></DIV>running svn diff?
<DIV></DIV>
<DIV></DIV>-dain
<DIV></DIV>
<DIV></DIV>--
<DIV></DIV>Dain Sundstrom
<DIV></DIV>Chief Architect
<DIV></DIV>Gluecode Software
<DIV></DIV>310.536.8355, ext. 26
<DIV></DIV>
<DIV></DIV>On Dec 7, 2004, at 2:33 PM, Chandresh Taunk (JIRA) wrote:
<DIV></DIV>
<DIV></DIV>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[
http://nagoya.apache.org/jira/browse/GERONIMO-478?page=history ]
<DIV></DIV>&gt;
<DIV></DIV>&gt; Chandresh Taunk updated GERONIMO-478:
<DIV></DIV>&gt; -------------------------------------
<DIV></DIV>&gt;
<DIV></DIV>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Attachment: geronimo-478.patch
<DIV></DIV>&gt;
<DIV></DIV>&gt;&gt; Deployer must not echo password when prompting
<DIV></DIV>&gt;&gt; ----------------------------------------------
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Key:
GERONIMO-478
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;URL:
http://nagoya.apache.org/jira/browse/GERONIMO-478
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Project:
Apache Geronimo
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Type: Bug
<DIV></DIV>&gt;&gt;&nbsp;&nbsp; Components: deployment
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; Reporter:
Jeremy Boynes
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;Attachments: geronimo-478.patch
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt; When no password is specified on the command line
the deployer
<DIV></DIV>&gt;&gt; prompts the user for one.
<DIV></DIV>&gt;&gt; When this is being entered it is echoed onto the screen.
<DIV></DIV>&gt;&gt; On a windows machine the value entered is also displayed
if up-arrow
<DIV></DIV>&gt;&gt; is pressed when being prompted.
<DIV></DIV>&gt;
<DIV></DIV>&gt; --
<DIV></DIV>&gt; This message is automatically generated by JIRA.
<DIV></DIV>&gt; -
<DIV></DIV>&gt; If you think it was sent incorrectly contact one of the administrators:
<DIV></DIV>&gt;&nbsp;&nbsp;&nbsp;&nbsp;http://nagoya.apache.org/jira/secure/Administrators.jspa
<DIV></DIV>&gt; -
<DIV></DIV>&gt; If you want more information on JIRA, or have a bug to report
see:
<DIV></DIV>&gt;&nbsp;&nbsp;&nbsp;&nbsp;http://www.atlassian.com/software/jira
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV></div></html>


Mime
View raw message