Detailed Design Document
CPSC 451 Supplier Group #1

Department of Computer Science
University of Calgary
27 February 1997

Page maintainer: Terrence Asgar-Deen
terrence@cpsc.ucalgary.ca

  • Terrence Asgar-Deen
  • Patrick Chan
  • Thomas Hui
  • Carsten Jaeger
  • Matthew Johnson
  • Brian Low
  • Hoang Nguyen
  • Kevin Pattison
  • Csaba Suveges
  • Jeremy Tang
  • Leena Thakkar
  • Al-Amin Vira
  • Lin Zhang

  • Logging onto the System

     

    Logging onto the system is described in the above diagram. The user passes his/her username and password to the system. From the user data store, the instance of the user corresponding to the username is retrieved. If the system finds a valid password for the username that matches the inputted password, the user is granted access to the system. The user's security level is retrieve from the user datastore and is propagated through the system specifying the access of functionality for the user.

    The returned status corresponds to the success of the operation.


    P-Spec

    Process ID 1.E
    Process Name Logging onto the System
    Inputs username, password
    Outputs None
    Permissible User Administrator, Salesperson
    Assumptions All information entered is syntactically correct.
    Error Conditions The username entered does not exist.
    The password entered is not correct.

    Data Elements (Data Dictionary)

    Name password
    Kind Data movement in DFD
    Type String
    Description This data element corresponds to the user's password.

    Name status
    Kind Data movement in DFD
    Type Return Message
    Description This data element corresponds to an error message being returned from an operation. An error message may be both successful and unsuccessful. Unsuccessful error messages are further subcategorized into different errors based on the possible errors that can occur in an operation.

    Name user
    Kind Data movement in DFD
    Type Instance of an Entity
    Description This data element corresponds to a complete instance of the Entity User.

    Name username
    Kind Data movement in DFD
    Type String
    Description This data element corresponds to the user's username.

    User Interface (Logging onto the System)

    All users must first be validated through the Login dialog before entering the system. The user enters his or her user name in the first field, and his or her password in the second field. All characters typed in the second field will be hidden and replaced with asterisks (*). When the user presses Enter, or clicks OK then system checks the name and password as described below with the DFD. If the user name and password are not correct, a dialog will be displayed notifying the user the user name and password were rejected. For security reasons, the system will not tell the user the specific reason that the login was rejected. Once a user successfully enters a user name and password, the user will gain access. The system will determine if the user is a salesperson, or an administrator and set access to various functions accordingly. Clicking the Close button will display a dialog asking the user if they want to exit the Sales Routing System without logging on.