Skip to content

KT with Change Password&Reset Password part#1

Open
zenithda13 wants to merge 8 commits intoPAWSLabUniversityOfPittsburgh:masterfrom
zenithda13:master
Open

KT with Change Password&Reset Password part#1
zenithda13 wants to merge 8 commits intoPAWSLabUniversityOfPittsburgh:masterfrom
zenithda13:master

Conversation

@zenithda13
Copy link

Add edu.pitt.sis.paws.kt2.setNewPwd package to src.
Add forgeotPwdPage.jsp, resetPwdPage.jsp, changePwdPage.jsp to web.
Add email_uuid table to portal database(email_uuid.sql has been added to github).
Add "forget?" and link it to forgotPwdPage.jsp to let user send email. The request from this page will be sent to forgotPwd.java, and if the email is in database, send a link with uuid(using UUIDGenerator.java, MailSender.java) to the email address and save email&uuid in email_uuid table.
When User click this link, use ResetPwd.java to check uuid and email. If is in email_uuid table, let user go to resetPwdPage.jsp.
After user saving new password in resetPwdPage.jsp, send request to SaveNewPwd.java to save it and delete that email&uuid in email_uuid table.
Add "Change Password" link after users logging in the system.
Click this link will lead user to changePwdPage.jsp to reset their password.

knightf and others added 8 commits January 29, 2015 20:55
02/06/2015
02-08
reset page designed
save new pwd
finish change password part
Finish reset&password part and the upload email_uuid.sql.
The table should in schema Portal_test2
Add edu.pitt.sis.paws.kt2.setNewPwd package to src.
Add forgeotPwdPage.jsp, resetPwdPage.jsp, changePwdPage.jsp to web.
Add email_uuid table to portal database.
Add "forget?" and link it to forgotPwdPage.jsp to let user send email.
The request from this page will be sent to forgotPwd.java, and if the
email is in database, send a link with uuid(using UUIDGenerator.java,
MailSender.java) to the email address and save email&uuid in email_uuid
table.
When User click this link, use ResetPwd.java to check uuid and email.
If is in email_uuid table, let user go to resetPwdPage.jsp.
After user saving new password in resetPwdPage.jsp, send request to
SaveNewPwd.java to save it and delete that email&uuid in email_uuid
table.
Add "Change Password" link after users logging in the system.
Click this link will lead user to changePwdPage.jsp to reset their
password.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants