Add redirect on expiration.

This commit is contained in:
Paulo Gustavo Veiga 2024-02-06 23:43:52 -08:00
parent e3998ef3d4
commit 56c322fd3f

View File

@ -54,7 +54,7 @@ public class RestAppConfig {
})) }))
.csrf(AbstractHttpConfigurer::disable) .csrf(AbstractHttpConfigurer::disable)
.sessionManagement(session -> session.sessionCreationPolicy(SessionCreationPolicy.STATELESS)) .sessionManagement(session -> session.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
.httpBasic(withDefaults()) // .httpBasic(withDefaults())
.build(); .build();
} }
} }