SquidSoft Inc. - GUIDOs
Detailed Design Document - Process Specifications


           Process Specification for Process 10           

The Change Password interface appears when the user clicks on the Change Password menu item in the Main Menu. It contains three fields - Old Password, New Password and Verify New. Old Password is the password that is currently being used by the user. New Password is the password that will be used by the user. The field, "Verify New," is used for the verification of the new password, so the value in this field has to be the same as that in the New Password field. Again, asterisks are displayed on all fields instead of the entered characters.

User may abort this process by pressing the Cancel button resulting in the Main Menu Window being displayed.

For security reasons, it is recommended that users change their password regularly.

           Process 10: Change Password           

Purpose: Allow users to change their passwords

Inputs:

  • Mouse Action (mouse control from users)
  • Username
  • Old password
  • New password

Outputs:

  • Message to user

Calls:

  • Main Menu

Called by:

  • Main Menu

Error conditions:

  • Invalid old password
  • Unmatched new and verify new password

Algorithm:

if user clicks on the 'cancel' button
  then go back to the Main Menu Interface
else if user clicks on the 'OK' button
  then verify whether the old password is valid
  if old password is valid
    then if new and verify new password are matched
      if they are match
        then update password of the user in database 
      else print_to_user 'Failure to change password
        because new and verify new password are not
        match'
      endif
    endif
  endif
endif
Login  
Main Menu  
Security  
Password  
Orders  
Product  
Personnel  
Stores  
Cashier  
Inventory  

Main Page  


About SquidSoft Inc. This site created and maintained
with Mortar