- <init>
Creates a new instance with the supplied login and password. Any provided null
values will be replac
- equals
Returns true if these Credentials and the specified instance are equal. For
credentials to be equal,
- getLogin
Returns the login part. The returned login may be an empty string but never null
.
- getPassword
Returns the password part. The returned password may be an empty string but
never null.
- isEmpty
Returns true if these credentials are empty. Credentials are said to be empty if
both login and pass
- getMaskedPassword
Returns the password as a masked string, each of the characters replaced by '*'
characters.
- toString