📄 user story - autologon.txt
字号:
Story:
perform user auto logon
user will not entering username and password every time he access xforum
description:
show a checkbox on logon form : "auto logon"
if user checked "auto logon" and logon ok
save username to cookie
from then on, in AutoLogonFilter, check cookie first
if there is username cookie
save user info in cookie to session
to disable auto logon
logon again and do not check "auto logon" checkbox
work item:
ok.add a checkbox in logon page
ok.modify logonForm.java add boolean autoLogon
ok.modify logonAction.java
if user logon ok
if user check "auto logon", save username to cookie
otherwise, remove username from cookie
.add AutoLogonFilter.java
check session, if already logon, quit
otherwise, check cookie , if username in cookie is available
perform auto logon
save user info to session
.add AutoLogonFilter to web.xml
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -