You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2013/12/05 11:05:35 UTC
[jira] [Created] (SHIRO-475) Integrate with JDK7's ForkJoinPool
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)