[ http://issues.apache.org/jira/browse/GERONIMO-2216?page=comments#action_12426843 ] Jason Dillon commented on GERONIMO-2216: ----------------------------------------
Yup, there is probably some env where this won't work... but JLine can detect that and will revert to basically the same behavior as we had before... I clued them into out brute force method. But, 99% of the time it will work... and in reality its more like 99.99% of the time, since almost everyone is on Linux, Windows or Mac OS X (or some other Unix). > Use JLine API to get password interactivly when using shutdown > -------------------------------------------------------------- > > Key: GERONIMO-2216 > URL: http://issues.apache.org/jira/browse/GERONIMO-2216 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: startup/shutdown > Affects Versions: 1.2 > Reporter: Jason Dillon > Assigned To: Jason Dillon > Priority: Minor > Attachments: GERONIMO-2216.diff > > > Sometimes when interactively entering a password for shutdown, if the > password is typed too fast, some of the chars are visible for a brief period. > JLine provides the ability to mask the input as it is read (or omit it all > together): > * http://jline.sourceforge.net/#reading_password -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
