[SNIP]
KJ:
> >>> We also get a secure console:
> >>>
>
http://download.java.net/jdk6/docs/api/java/io/Console.html
> >>>
> >>> This makes me think we need an extended input
> handler for passwords; the
> >>> first impls would support swing and the "legacy"
> echoing console;
> >>> java1.6 could be engaged if present. hmm.
> >>>   
SL:
> >>
> >> That would fix at least one long-standing bug (if
> only on Java6) :)
> >>  
> >>
KJ:
> > OK, well with the release candiadate, on winxp pro
> sp2, the new 
> > System.console() feature works.  I've done a quick
> input handler 
> > (ConsoleInputHandler) that will use the secure
> prompt if a property is set.
> > 
> > My only problem now is how to set the property so
> that the user can 
> > decide to use the secure prompt or not - any way
> just for kicks (if 
> > anyone else has Java6 installed)...
>
SL: 
> well, <input> could be extended to say "secure"; we
> could extend 
> inputRequest to ask for a prompt. Then the default
> handler would 
> delegate to the console if the code was built in.
> 

Have either of you seen the stuff I added to the input
task so that the handler could be overridden in the
build file?  I created a nested Handler element for
this... seems like if that class implemented
DynamicConfigurator we could automagically support
custom extensibility e.g. in this instance...

-Matt

[SNIP]

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to