Env
Spring-Boot 1.5.8 Spring security Spring Session enabled Spring Web Front end is Angularjs/javascript.
Problem Statement A session-A is not marked idle if the server receives get or post requests from session-A. I want to ignore one Get request (http://myapplication/rest/xyz), so that if this request is received from Session-A, server does not mark the sesison as Active and does not update the LastAccessedTime of the session.
Question Can I configure Spring-Session to ignore a particular URL/URI (http://myapplication/rest/xyz). So that when this request comes, server will not update lastActiveTime in session attributes and if no other request comes for this session in next one hour, server will timeout the session.
Application Configuration Application config for session timeout value is provided below.
#Session timeout in seconds.
server.session.timeout= 3600
Aucun commentaire:
Enregistrer un commentaire