Open imduffy15 opened 6 years ago
Do we have a solution yet?
It looks that when the MODE_INHERITABLETHREADLOCAL set the security context in the threads of a ForkJoinPool when a thread ends his job does not clean the context, so when a thread is used again sometimes it has the context of a different request.
Hi,
I have the following controller:
I have configured spring to use
MODE_INHERITABLETHREADLOCAL
with the following bean:If a request comes in with auth token "abc" the print statement above will print "abc" correctly. However, if a new request comes in with a different token "abc" is still printed.