Skip to content

Commit

Permalink
Merge pull request #1480 from jedla97/fix-sec-web-auth-on-windows
Browse files Browse the repository at this point in the history
Fix security web authentication on windows
  • Loading branch information
rsvoboda authored Dec 3, 2024
2 parents ef35e3a + 13aba8e commit 538f9a6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ private WebClient createWebClient() {
WebClient webClient = new WebClient();

webClient.setCssErrorHandler(new SilentCssErrorHandler());
// Setting the cache size to zero as webClient by default can store cached request,
// which causing the `testTokenTimeoutLogout` fail as the session cookie is not changed
webClient.getCache().setMaxSize(0);

return webClient;
}
Expand Down

0 comments on commit 538f9a6

Please sign in to comment.