- Pull the prj301-demo5.
- Create a new table
user
CREATE TABLE user (
username VARCHAR(100) PRIMARY KEY,
password VARCHAR(200),
access_right VARCHAR(20),
last_login DATE,
token VARCHAR(200),
token_expired_date DATE
)
- Complete the AccessManager.login to check username and password
- Take a screenshot of database
- Take a screenshot of browser
- Take a screenshot of AccessManager.login
-
Create a new controller AccessController1
-
Develop Login function (students follow video to develop)
-
Update StudentController with security check code.
-
Take a video to demonstrate Login function and Student list GUI without Login
-
Take a screenshot of your code.
- Update the file view/login.jsp to show message if wrong username or password.
- Take a screenshot of the browser
- Take a screenshot of view/login.jsp