fssa-batch3 / fssa-batch3/sec_a_logesh.venkatesan__corejava_project_2
User module | Login Feature
- Dominant language
- Java
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
# User Login Process
## User Story
As a registered user of the application, I require a seamless and secure login experience. Upon initiating the login process, I expect the system to validate my login credentials. In case the provided credentials are accurate, I anticipate a successful login and immediate redirection to the application's home page.
Should the entered credentials prove invalid, I anticipate the system to provide clear communication regarding the unsuccessful login attempt. This communication may involve displaying an error message to indicate that the provided login details are incorrect.
Upon a successful login, I look forward to being promptly directed to the application's home page, granting me access to the features and content reserved for authenticated users. If the login attempt fails, I expect to receive guidance on how to proceed or regain access.
## End
### DAO:
- [x] findUserByEmail
### Service:
- [x] loginUser
### Test:
TestLoginFeature
- [x] testLoginSuccess
- [x] testLoginFailure
## Flow Chart:
```mermaid
graph TD
Start --> UserInitiatesLogin
UserInitiatesLogin --> ValidateCredentials
ValidateCredentials -->|Valid| SuccessfulLogin
ValidateCredentials -->|Invalid| FailedLogin
SuccessfulLogin --> DisplayHomePage
FailedLogin --> DisplayErrorMessage
DisplayHomePage --> End
DisplayErrorMessage --> End
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.