Novell is now a part of Micro Focus

I thought I had found an excellent way...

Articles and Tips: qna

01 Oct 2002


Q.

I thought I had found an excellent way to hide the input of a password in my server application that runs on a NetWare server, as seen in the examples at http://java.sun.com/features/2002/09/pword_mask.html. The third example in this feature shows how to hide input from a console/text-based application (a sorely missed feature from Java), so I implemented the classes in my server to see if it would work.

Alas, the password is still echoed to the screen, appearing on the following line. I have NetWare 6 with Support Pack 1 running JVM 1.3.1_01. Is this a bug in the Novell JVM or just a "feature" of the NetWare environment?

A.

If you're using the system console for screen I/O, you'll need to use a different screen. To do this, start your Java application with the "-ns" parameter so that it will have its own screen.

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates