title: Spring boot jdbc session only for logged-in users
body: <p>I am using Spring Session JDBC in my spring boot application and it's working fine. But it's resulting into lot of calls to database. I want to only invoke the jdbc session management for authenticated users and the anonymous users can keep using the default spring session management. Is there a way to do this?</p>