mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-02-20 21:38:48 +00:00
Previously loadContext(HttpServletRequest) could return a Supplier that returned a null SecurityContext This commit ensures that null is never returned by the Supplier by returning SecurityContextHolder.createEmptyContext() instead. Closes gh-11606