I have a simple application that uses spring security to authenticate over LDAP. My Config is as follows
http
.csrf()
.disable();
http
.authorizeRequests()
.mvcMatchers("/helloworld")
.permitAll()
.anyRequest()
.authenticated()
.and()
.httpBasic()
.and()
.sessionManagement()
.sessionCreationPolicy(SessionCreationPolicy.STATELESS);
After login, I have a page that is build using an .xsl file that has a refresh mechanism at every 60 seconds. The refresh works but at some point, after couple of minutes, the popup for authentication is requested again. Why is this happening? Thank you and appreciate the response.