Spring Security with custom session timeout

Viewed 3305

I need an option to set session timeout from GUI. Currently we can change session timeout globally using configuration

server.session.timeout=120
server.session.cookie.max-age=120
server.session.timeout=120`

Also we can set session timeout for each session.

session.setMaxInactiveInterval(120);

But found no option to set session timeout globally on fly. Is there any way to do this using spring boot

Thanks in advance

2 Answers
Related