Announcement Announcement Module
Collapse
No announcement yet.
Password prompt? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Password prompt?

    Just found out about Spring Shell, pretty cool stuff!

    Is it possible to create a password prompt? I've browsed through the source without finding any references.

  • #2
    You can do that by directly using the JLine ConsoleReader:
    Code:
    ConsoleReader cr = new ConsoleReader();
    String pwd = cr.readLine('*');
    Erwin
    Last edited by klr8; Nov 11th, 2012, 04:16 AM.

    Comment

    Working...
    X