geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dillon (JIRA)" <>
Subject [jira] Updated: (GERONIMO-2216) Use JLine API to get password interactivly when using shutdown
Date Wed, 09 Aug 2006 04:22:14 GMT
     [ ]

Jason Dillon updated GERONIMO-2216:

    Attachment: GERONIMO-2216.diff

Attached patch reworks the PasswordReader into an InputReader, which uses the JLine library
to provide console access and masking for passwords.

Hooked up to the shutdown command and the related car deps, so running w/o flags
will result in something like:

Username: system
Password: *******

This works for unix systems, windows and when no supported terminal is detected, reverts to
the default brute force method that existed in PasswordReader, which was incorporated into
JLine w/version 0.9.9

This patch fixed the issue of parts of the password being displayed when entered too fast.

> Use JLine API to get password interactivly when using shutdown
> --------------------------------------------------------------
>                 Key: GERONIMO-2216
>                 URL:
>             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):
>  *

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message