This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Java doesn't offer that kind of control over the console interface, unfortunately. You're better off throwing up a GUI window; then it's easy to use, for example, javax.swing.JPasswordField. I don't think the PasswordCallback suggestion will help you.