stay-logged-in

How to implement “Stay Logged In” when user login in to the web application

China☆狼群 提交于 2019-11-26 00:45:26
问题 On most websites, when the user is about to provide the username and password to log into the system, there\'s a checkbox like \"Stay logged in\". If you check the box, it will keep you logged in across all sessions from the same web browser. How can I implement the same in Java EE? I\'m using FORM based container managed authentication with a JSF login page. <security-constraint> <display-name>Student</display-name> <web-resource-collection> <web-resource-name>CentralFeed</web-resource-name>