Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4.0, 1.7.0
-
None
-
None
Description
Beacause ThreadContext use InheritableThreadLocalMap , but when it work with ThreadPool , it bring security problem. Although, we can use SubjectAwareExecutor or SubjectAwareExecutorService to fix this problem. but not elegant . Maybe use ThreadLocal or Transmittable-thread-local better then InheritableThreadLocal