public interface UserAccountService
Modifier and Type | Method and Description |
---|---|
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.
|
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 notUserAccount 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)
Copyright © 2013. All Rights Reserved.