I am using Spring Cloud Gateway with @EnableSpringWebSession
functionality.
The session can be configured with a max inactivity interval which when it's reach will end the session.
Is there a way to black list some of the urls from marking session as active?
Our use case is as follows: We integrate a third party component, that for it's internal purpose sends a heartbeat every 5 sec. But from our point of view it's not a user activity and we don't want to refresh the session on these calls. Is there a way to instruct Spring not to thread this call as session activity?