Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-475

Integrate with JDK7's ForkJoinPool

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jkemnade Jochen Kemnade

              Dates

              • Created:
                Updated:

                Issue deployment