|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CredentialsStorageService
Loads and saves user credentials from/to the persistent storage (configuration file in the default implementation).
| Method Summary | |
|---|---|
boolean |
changeMasterPassword(String oldPassword,
String newPassword)
Changes the old master password to the new one. |
boolean |
isStoredEncrypted(String accountPrefix)
Checks if the account password that starts with the given prefix is saved in encrypted form. |
boolean |
isUsingMasterPassword()
Checks if master password was set by the user and it is used to encrypt saved account passwords. |
String |
loadPassword(String accountPrefix)
Load the password for the account that starts with the given prefix. |
boolean |
removePassword(String accountPrefix)
Remove the password for the account that starts with the given prefix. |
boolean |
storePassword(String accountPrefix,
String password)
Store the password for the account that starts with the given prefix. |
boolean |
verifyMasterPassword(String master)
Verifies the correctness of the master password. |
| Method Detail |
|---|
boolean storePassword(String accountPrefix,
String password)
accountPrefix - account prefixpassword - the password to store
String loadPassword(String accountPrefix)
accountPrefix - account prefix
boolean removePassword(String accountPrefix)
accountPrefix - account prefix
boolean isUsingMasterPassword()
boolean changeMasterPassword(String oldPassword,
String newPassword)
oldPassword - the old master passwordnewPassword - the new master password
boolean verifyMasterPassword(String master)
master - the master password to verify
boolean isStoredEncrypted(String accountPrefix)
accountPrefix - account prefix
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||