|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserAccountService
Manages local user accounts.
| Method Summary | |
|---|---|
void |
changePassword(UserAccount userAccount,
String newPassword)
Set the password for an account. |
void |
closeAccount(UserAccount account)
Closes an opened account. |
UserAccount |
createAccount(String accountName,
Map<String,String> userProperties,
String password)
Create a new user account using the provided information |
void |
deleteAccount(UserAccount account)
Delete a user account. |
List<UserAccount.Info> |
getAccounts()
Get a list of users accounts available. |
UserAccount |
loadAccount(UserAccount.Info info,
String password)
Open a user account, possibly given the user password. |
void |
saveAccount(UserAccount account)
Saves an account. |
| Method Detail |
|---|
List<UserAccount.Info> getAccounts()
UserAccount loadAccount(UserAccount.Info info,
String password)
info - the info object for this accountpassword - the password if required - or null if not
UserAccount createAccount(String accountName,
Map<String,String> userProperties,
String password)
void changePassword(UserAccount userAccount,
String newPassword)
void saveAccount(UserAccount account)
void closeAccount(UserAccount account)
void deleteAccount(UserAccount account)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||