class Utils
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
Utils() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static java.lang.String |
getPassword(java.lang.String username,
java.lang.String password)
If the initial password is:
'*' - replace it with a line read from the system console
'-' - replace it with next line from STDIN
'ABCD' - if the input is all upper case, use the field as an environment variable name
Note: there are no guarantees that the password cannot be snooped.
|
static java.lang.String getPassword(java.lang.String username,
java.lang.String password)
throws java.io.IOException
java.io.IOException