1. Public static final void assignRoles(Hashtable newroles, String userid) This method assign rolesto the user. -Inputs: Hashtable newroles(Key: appid(String) | Value: rolelist(Vector of Role)), User ID of the user to be assigned the roles 2. Public static final void updatesRoles(String userid, Hashtable newroles, String appID) This method updates new roles for the user for this particular application. The original roles will be deleted and the assigned roles for the application will be re-inserted. Inputs: (a) userid - User ID to be assigned new roles (b) newroles - Hashtable (Key: appid(String) | Value: rolelist(Vector of Role)), 3. : Public static final void resetPassword(String userid, String password, Date password_strt_date, int expiryDays, char forced_pwd_chg) The above method resets the password of the user specified. Inputs: -userid- ID of user -password_strt_date- Date the password is created -expiryDate- the life spann of the password before it becomes expired and required to be changed note: value of 0 indicate non-expiry and max life span of password is 90 days -forced_pwd_chng-set to "y"(yes) when password needs too be changed upon first time login. set to "n" when the password does not need to be changed upon first time login 4. Public static void changePassword(String userid, String oldpwd, String newpwd) <---- method name This method enables the user to change password given that the correct old password is verified. Inputs: - Userid, ID of the user - OldPwd, old password of the user - NewPwd, new password of the user Complete all the above APIs. All methods must be tested with junit.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased. 3) All the APIs must be completed. 4) Junit testing is neccessary.
## Platform
Windows....
## Deadline information
One APIs must be completed and send to me weekly.