Jochen Kemnade created SHIRO-475:
------------------------------------

             Summary: Integrate with JDK7's ForkJoinPool
                 Key: SHIRO-475
                 URL: https://issues.apache.org/jira/browse/SHIRO-475
             Project: Shiro
          Issue Type: Improvement
    Affects Versions: 1.2.2
            Reporter: Jochen Kemnade


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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to