public interface Keyring
| Modifier and Type | Method and Description |
|---|---|
void |
loadPassword(Credentials credentials)
Loads the password into the given
Credentials. |
boolean |
savePassword(Credentials credentials)
Stores the password from the
Credentials into the keyring. |
void loadPassword(Credentials credentials)
Credentials.
NullPointerException is thrown is Credentials is
null or Credentials.getUserName() is null.boolean savePassword(Credentials credentials)
Credentials into the keyring.
NullPointerException is thrown is Credentials is
null or Credentials.getUserName() is null.
Credentials.getPassword() is null, an emtpy String
password is saved in the keyring.Copyright © 2012. All Rights Reserved.