File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
I/O and Streams
Retrieve password from console
Joined: Jul 17, 2009
May 19, 2010 22:10:41
I have a requirement to take password from console.
For jdk 6 there is a way to get it :
But, my problem is that, I have to do it using jdk 5, is there any equivalent way of doing it.
Joined: Nov 18, 2006
Jun 08, 2010 07:33:03
That's not a simple task. You could mask the user input yourself (printing "\010*") or take use of os specific functions. Both ways have their weak points.
Censorship is the younger of two shameful sisters, the older one bears the name inquisition.
-- Johann Nepomuk Nestroy
I agree. Here's the link:
subject: Retrieve password from console
HELP! Logging into WebLogic9.2
How to reset login username and password in administration console??
username and passward for new server
Get password from Console
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014