• Post Reply Bookmark Topic Watch Topic
  • New Topic

Masked console user input for passwords

 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any progess since the article:
http://java.sun.com/features/2002/09/pword_mask.html
?
 
Joe Ess
Bartender
Posts: 9362
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. Console support is weak. Java is cross-platform and many platforms it runs on (phones, kiosks, rings) will not have a console. And really, interactive console applications are so 20th century. That being said, if you NEED to mask a password on a console app, it's pretty easy to do through JNI.
 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any proof of simplicity of JNI? Generally support of Linux and Windows is sufficient for me.
 
Joe Ess
Bartender
Posts: 9362
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by D Rog:
Any proof of simplicity of JNI?

I wrote similar functionality for Win32 in an afternoon.

Generally support of Linux and Windows is sufficient for me.

You'd have to write code for each platform you want to support.
 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!