|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object CTL.Password
public class Password
Taken from http://java.sun.com/developer/technicalArticles/Security/pwordmask/ Note: Insecure, because Strings are immutable
Nested Class Summary | |
---|---|
private static class |
Password.MaskingThread
|
Constructor Summary | |
---|---|
Password()
|
Method Summary | |
---|---|
static char[] |
getPassword(java.io.InputStream in,
java.lang.String prompt)
|
static java.lang.String |
prompt()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Password()
Method Detail |
---|
public static java.lang.String prompt()
public static final char[] getPassword(java.io.InputStream in, java.lang.String prompt) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |