You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Supplier<SecurityContext> in AnonymousAuthenticationFilter gets invoked several times on each request. Essentially, any time getContext is invoked downstream of it. While each call is quick, it seems a bit wasteful.
One way to cache it would be SingletonSupplier
The text was updated successfully, but these errors were encountered:
The
Supplier<SecurityContext>
inAnonymousAuthenticationFilter
gets invoked several times on each request. Essentially, any timegetContext
is invoked downstream of it. While each call is quick, it seems a bit wasteful.One way to cache it would be
SingletonSupplier
The text was updated successfully, but these errors were encountered: