Add redirect on expiration.

main
Paulo Gustavo Veiga 2024-02-06 23:43:52 -08:00
parent e3998ef3d4
commit 56c322fd3f
1 changed files with 1 additions and 1 deletions

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();
} }
} }