Courtesy of PlanetSun.org I just read on Alan Bateman's blog that the Mustang release of Java adds support for a getpassphrase(3c) like interface. Finally! Whats more it even does the java equivalent of using /dev/tty.
This is long over due, glad to see it is finally here!
Now that we have it I have to discourage people for using it, instead most of the time it is better to use the JAAS APIs in your applications and let the JAAS providers deal with getting the creds for you.
Technorati Tag: Java