Hide or mask the password field through an Socket.
posted 7 years ago
I developed an Java application that is acceded from another system with a tcp socket port (telenet 127.0.0.1 20000 by example). The problem is that when I login in the system, the password value is displayed in the terminal or connection logs. Exist any option for hide or mask with the character "*"?.
I was searching in Google but not found much information, only the java.io.Console class but this understand is not applicable through the tcp socket.