public interface Persistence
Modifier and Type | Method and Description |
---|---|
boolean |
checkUser(String user)
Check if a user is already persisted with an associated password pair.
|
boolean |
checkUserPWD(String user,
String pwd)
Method that checks the proper authentication of a persisted user-password
pair.
|
void |
init(ModuleContext context) |
void |
removeCallee(String id,
String subid) |
void |
removeCaller(String id,
String subid) |
void |
removePublisher(String id,
String subid) |
void |
removeSpace(String id) |
void |
removeSubscriber(String id,
String subid) |
void |
restore()
Restore in the MW all the persisted information (registration,
subscribers and callees)
|
void |
storeCallee(String id,
Callee c) |
void |
storeCaller(String id,
Caller c) |
void |
storePublisher(String id,
Publisher p) |
void |
storeSpace(Space s,
String v) |
void |
storeSubscriber(String id,
Subscriber s) |
void |
storeUserPWD(String user,
String pwd)
Store a new user-password pair for later authentication.
|
void init(ModuleContext context)
void removeSpace(String id)
void storeSubscriber(String id, Subscriber s)
void restore()
void storeUserPWD(String user, String pwd)
user
- Userpwd
- Passwordboolean checkUserPWD(String user, String pwd)
user
- Userpwd
- Passwordboolean checkUser(String user)
user
- to checkCopyright © 2018 universAAL Consortium. All rights reserved.