I know that command line interfaces like Git and others are able to hide input from a user (useful for passwords). Is there a way to programmtically do this in Java? I\'m ta
The class Console has a method readPassword() that might solve your problem.
readPassword()