Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.2.2
-
None
-
None
-
None
Description
There are SubjectAwareExecutor and SubjectAwareExecutorService that wrap Runnables and Callables to be executed with the creating thread's security context.
There is no such integration for JDK7's ForkJoinPool/Task.
AFAICT, we'd have to hook into ForkJoinPool's exec method, but as it is protected, the delegate pattern that is used for SubjectRunnable and SubjectCallable cannot be applied here.