News, tips, partners, and perspectives for the Oracle Solaris operating system

Java gets getpassphrase(3c) workalike

Darren Moffat
Senior Software Architect

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:

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.