Java spring boot

I need to create session timeout and after the particular minute it need to redirect to login page. I am using spring boot and am not having Web. Xml files… Kindly share your idea

Hi!

The session timeout should be configurable by setting server.session.timeout in the application.properties file.

It should be possible to redirect to a desired url on session timeout using appropriate SystemMessages. See VaadinService.setSystemMessagesProvider how to provide custom SystemMessages.

-Pontus

I tired server.session.timeout in application.properties file. It is not working properly. Am using spring boot security

Spring security brings its own challenges. Please have a look at these blog posts: https://vaadin.com/blog/filter-based-spring-security-in-vaadin-applications and https://vaadin.com/blog/a-hybrid-approach-to-spring-security-in-vaadin-applications. They are not exactly new, but the information in there should still be correct.

-Pontus