| Package | Description |
|---|---|
| org.opensrp.api.contract | |
| org.opensrp.api.domain |
| Modifier and Type | Method and Description |
|---|---|
User |
SecurityManager.authenticate(String username,
String password) |
User |
SecurityManager.getUser(String username) |
User |
SecurityManager.login(String username,
String password,
AuthorizationHandler<?> callbackHandler) |
| Modifier and Type | Method and Description |
|---|---|
String |
SecurityManager.encryptPassword(User user,
String cleartextPassword) |
boolean |
SecurityManager.verifyAuthorization(User user,
AuthorizationHandler<?> callbackHandler) |
boolean |
AuthorizationHandler.verifyAuthorization(User user,
T service) |
void |
LocationManager.verifyLocationAccess(Location location,
User user) |
| Modifier and Type | Method and Description |
|---|---|
User |
BaseDataObject.getCreator() |
User |
BaseDataObject.getEditor()
The last User who edited the data
|
User |
BaseDataObject.getVoider() |
User |
User.withPassword(String password) |
User |
User.withPermission(String permission) |
User |
User.withPermissions(List<String> permissions)
WARNING: Overrides all existing permissions
|
User |
User.withRole(String role) |
User |
User.withRoles(List<String> roles)
WARNING: Overrides all existing roles
|
User |
User.withSalt(String salt) |
User |
User.withStatus(String status) |
User |
User.withUsername(String username) |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseDataObject.setCreator(User creator) |
void |
BaseDataObject.setEditor(User editor)
The last User who edited the data
|
void |
BaseDataObject.setVoider(User voider) |
BaseDataObject |
BaseDataObject.withCreator(User creator) |
BaseDataObject |
BaseDataObject.withEditor(User editor) |
BaseDataObject |
BaseDataObject.withVoider(User voider) |
Copyright © 2018. All rights reserved.