ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: DO NOT REPLY [Bug 33354] - input task should hide passwor d entries
Date Tue, 08 Feb 2005 08:20:43 GMT
> >
> >http://issues.apache.org/bugzilla/show_bug.cgi?id=33354
> >
> >
> >To call getpass() we'd need a JNI implementation for every 
> platform that ant
> >runs on. 
> >  
> >
> Not necessarily so!
> See here: 
> http://java.sun.com/developer/technicalArticles/Security/pwordmask/
> 
> The problem is known at sun, and a fix pending, but not yet done.
> The article provides a fix, that albeit clumsy, that is a.) backward 
> compatible b.) (mostly) portable.
> 
> Because this might be interesting for more than one project: 
> how about 
> placing a class
> for this into commons io?


I use that scenario in a java course, but there is a drawback: _sometimes_
it happens, that the erasure thread does not delete the first character.
That´s ok for my course - but not for a tool like Ant. (imho)

Jan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message