Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
User Stories:
a. As a Customer, I want to Register /Signup to the Web portal / Mobile App with
the First Name, Last name Mobile number, OTP, Email.
b. As a Customer, I want to Login to the Webportal / Mobile App using User name -
EmailID / mobile number, Password.
Lokesh Page 1
Lokesh N [Login , Authentication and authorization module SRS ]
Business Rules:
1. Enter the First Name and Last Name .
2. Enter Mobile No. An authentication Verification code should be sent to the mobile
number.
3. Provide a button Resend Code to provide an option to the customer to resend the
Verification code
4. Authentication:
a. Registration through Mobile: The Enter Verification Code should be
automatically read from the SMS received and authenticated.
b. Registration on Webportal: Customer need to enter the Verification code
manually and authenticate
c. Display a message that “Authentication is Successful”
6. Set Up Password:
a. Create a new password by entering in the Password field
b. Confirm the same in the Confirm Password field
c. Verify the password and display a message that “Password Matches” / “Password
doesn’t match, Please Re-enter”
Password Guidelines:
Must contain atleast 8 characters and not more than 20 characters
Must contain atleast one upper/Lower case character (A-Z)
Must contain atleast one number (0-9)
Must contain atleast one special character out of these ( ! @ # $ ^ & * ~ )
DO NOT have any other special characters
Field Validation:
1.FirstName:characters.
Lokesh Page 2
Lokesh N [Login , Authentication and authorization module SRS ]
Validation Process:
Case1: if we `click` on submit button,with out filling any one field in the registration
page ,then we need to get a notification and you need to fill that particular field to
complete the process.
Case2:To validate the customer/user ,we send otp for the particular Mobile number
given by the customer while registration.
Lokesh Page 3
Lokesh N [Login , Authentication and authorization module SRS ]
1.1 Sign In
Business Rules:
1. User should enter the User Name with EmailID/Mobile Number
and ld
2. Enter the Password
3. Click on “Login” button for successful login
a. Validate the login details and Login if validation is successful
b. Display “Login Failed” message and redirect customer to Re-
enter the correct login details.
c.
4. User need to have options “Forgot Password”, “Reset/Change Password”
a).Forgot Password:
i. Click on the Forgot Password option
ii. Enter the User Name - EmailID/Mobile Number
Lokesh Page 4
Lokesh N [Login , Authentication and authorization module SRS ]
Field Validation:
Validation Process:
Case1:if Entered emailId is not registered or incorrect / field is blank, then
notification/error message should be sent to the customer/ user while login.
Case3:if not registered customer try to login to the account then ,error message should
display “user not found” and registration page link should be displayed.
Lokesh Page 5
Lokesh N [Login , Authentication and authorization module SRS ]
Business Rules:
a) Reset/Change Password:
i. Click on the Reset/Change Password
ii. Authenticate with OTP on Mobile
iii. Allow User to create a New Password, and Confirm Password
iv. Display a message “Password reset/change Successful” or
“Password reset /change Failed”.
Field Validation:
1. Email ID: characters and digits (both combination).
2. Mobile Number: 10 Digits (number).
3. OTP: Digits.
4. Password: characters or digits (both combination).
5. Confirm Password: character or digits (both combination).
Validation Process:
Case1:if all the fields are empty then error message should be display
“Enter all the fields”.
Case2:if Entered email ID or mobile number is not registered then, error message should
be display “Email ID or Mobile Number not found”.
Case3:if OTP is wrong then error message should display “enter the correct otp”.
Lokesh Page 6
Lokesh N [Login , Authentication and authorization module SRS ]
Case4:if customer / user had not get any opt then ,option for resending the otp should be
there.
Case5: if both password and confirm password should be same or error message should
display ”Enter the Matching character”.
Business Rule:
i. Click on the Forgot password.
ii. Authenticate with OTP on Mobile or through emailId.
iii. Send temporary password to Mobile or emailId.
Field Validation:
Validation Process:
Case1:if all the fields are empty then error message should be display
“Enter all the fields”.
Lokesh Page 7
Lokesh N [Login , Authentication and authorization module SRS ]
Case3:if OTP is worng then error message should display “enter the correct
otp”.
Case4:if customer / user had not get any opt then ,option for resending the
otp should be there.
Lokesh Page 8