DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33354>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33354
------- Additional Comments From kevin.jackson@it.fts-vn.com 2005-02-03 09:55 -------
OK, after writing a password handler based on JAAS, I discovered that the
PasswordCallback set to display = false, still displays the password on the
command line. I think it's reasonable to assume that this has already been
reported as a bug to Sun, so...
My next avenue was to write a simple Swing GUI inputhandler. It works rather
nicely although I'm not sure exactly how I can write a unit test for it...
Just call with the -inputhandler org.apache.tools.ant.input.GUIInputHandler. It
looks for a "pass" within the prompt and if found masks the input, otherwise it
behaves like the console version, echoing back the input.
I'll attach the patch in a moment. Very simple and I don't claim to be a UI
programmer so please forgive the clunkiness.
kev
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
|