You can set a session timeout (say, 60 minutes) for all sessions in web.xml:
<session-config> <session-timeout>60</session-timeout> </session-config>
or for each session using
session.setMaxInactiveInterval(60*60);
the last one you might want to do in a Suhhandler authorization.
<form-login authentication-success-handler-ref="authenticationSuccessHandler"/>
sourcedelica Mar 22 2018-11-11T00: 00Z
source share