
Construct a
PasswordCallback with a prompt
and a boolean specifying whether the password should be displayed
as it is being typed.
Parameters:
- prompt - the prompt used to request the password.
- echoOn - true if the password should be displayed
as it is being typed.
Throws:
- IllegalArgumentException - if prompt is null or
if prompt has a length of 0.