?? user story - autologon.txt
字號:
Story: perform user auto logon user will not entering username and password every time he access xforumdescription: 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" checkboxwork 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 + -