Welcome to the Lobeo Module Server project. Please feel free to submit bugs related to it.
FS#252 - Manage user profile on the LMS
Attached to Project:
LMS
Opened by Ferdinand (PaGaisu) - Monday, 28 November 2011, 14:05 GMT
Last edited by Ferdinand (PaGaisu) - Tuesday, 06 December 2011, 09:43 GMT
Opened by Ferdinand (PaGaisu) - Monday, 28 November 2011, 14:05 GMT
Last edited by Ferdinand (PaGaisu) - Tuesday, 06 December 2011, 09:43 GMT
|
DetailsManage user profile on the LMS
Add the following methods to the UserService into the UserHandler module /** * Get the profile of the user * @param userName the name of the user (cannot be null) * @return the profile which is a mapping key/value */ public Properties getProfile(String userName); /** * Add a property to the profile of the specified user * @param userName the name of the user (cannot be null) * @param key the key of the property (cannot be null) * @param value the value of the property (cannot be null) * @return true if successful */ public boolean addToProfile(String userName, String key, String value); /** * Remove a property from the profile of the specified user * @param userName the name of the user (cannot be null) * @param key the key of the property (cannot be null) * @param value the value of the property (cannot be null) * @return true if successful */ public boolean removeFromProfile(String userName, String key); |
This task depends upon