ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dale Anson" <dan...@germane-software.com>
Subject RE: Improving Tasks
Date Fri, 22 Oct 2004 23:16:50 GMT
Yes, the article I mentioned references the Sun article and makes use of
that technique.  There is another issue not mentioned in either article
about this technique -- most shells have a command history, so an up arrow
will show you previous entries.  While the Sun technique masks the
password as it is entered, using the up arrow later will show the password
in plain text, and it may be available in plain text in other places, for
example, in your .bash_history file if you use bash.

Dale


> Sun has an article on how to do password masking in java. The command
> line version uses a second thread to mask the characters being entered.
>
> http://java.sun.com/developer/technicalArticles/Security/pwordmask/
>
> Michael
>
> -----Original Message-----
> From: Dale Anson [mailto:danson@germane-software.com]
> Sent: Friday, October 22, 2004 2:57 PM
> To: Ant Users List
> Subject: RE: Improving Tasks
>
> Probably not widely known is that Ant-Contrib has a GUI input task, see
> http://cvs.sourceforge.net/viewcvs.py/ant-contrib/ant-contrib/src/net/sf
> /antcontrib/input/
> GUIInputHandler. It does not do password masking, however.  This
> particular input handler is copy and paste from the gui input handler
> used
> by Antelope.
>
> Also, look at http://ant.apache.org/resources.html, in the Articles
> section, Ivan Ivanoe has written an excellent article titled "Extending
> Ant Input Abilities" that discusses the current state of affairs for
> command-line password masking in Ant.
>
> Dale
>
>
>> The source for this task is not provided. :(
>>
>> -Rob A
>>
>>> -----Original Message-----
>>> From: Dick, Brian E. [mailto:Brian.Dick@FMR.com]
>>> Sent: Friday, October 22, 2004 9:30 AM
>>> To: Ant Users List
>>> Subject: RE: Improving Tasks
>>>
>>>
>>> Look at
>>>
>>> http://homepage.ntlworld.com/wayne_grant/ant.html
>>>
>>> -----Original Message-----
>>> From: Erskine, Chris [mailto:chris.erskine@eds.com]
>>> Sent: Friday, October 22, 2004 12:26 PM
>>> To: Ant Users List
>>> Subject: RE: Improving Tasks
>>>
>>>
>>> My first guess would be if this could be done using Swing
>>> with a popup.
>>> This would work an most systems - just not the ones where I am
> running
>>> in a
>>> terminal window or a background task like cron.
>>>
>>> Chris Erskine
>>>
>>> EDS Consulting Services
>>> F5-EDS-001
>>> 2424 Garden of the Gods Rd
>>> Colorado Springs, CO  80919
>>>
>>> Phone: 719-535-6064
>>>
>>> Phone:
>>> mailto:chris.erskine@eds.com
>>> > -----Original Message-----
>>> > From: Anderson, Rob (Global Trade) [mailto:Rob.Anderson@nike.com]
>>> > Sent: Friday, October 22, 2004 10:13 AM
>>> > To: Ant Users List
>>> > Subject: RE: Improving Tasks
>>> >
>>> > > > Rhino wrote:
>>> > > >
>>> > > > > 1. Provide for a masked input field so that it could be
>>> > > used to prompt
>>> > > > > for a password that would remain unreadable to anyone
>>> > > looking over the
>>> > > > > users shoulder. (I envision adding a 'mask="true"'
>>> > > parameter to make
>>> > > > > that possible with the default for 'mask' being 'false'.)
>>> > > >
>>> > > > I like this alot.
>>> > > >
>>> > > Stephan's reply to my post says that this has been attempted
>>> > > before but no
>>> > > one could find a way that worked on all of the platforms. I
>>> > > don't have any
>>> > > better ideas so you probably shouldn't hold your breath on
>>> > > this idea ;-)
>>> >
>>> > If you can implement this on any platform it would be helpful.
>>> Portability
>>> > may be an issue, but any implementation that is open source
>>> would be a
>>> > good start. I say give it a shot.
>>> >
>>> > -Rob Anderson
>>> >
>>> >
>>> >
>>> ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> > For additional commands, e-mail: user-help@ant.apache.org
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: user-help@ant.apache.org
>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message