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

Enable web-configured SecurityManager to be statically accessible for non-request threads

    Details

      Description

      For any work done on threads that are not triggered by a request thread, the SecurityManager should be accessible to these threads so the Subject.Builder can be used properly.

      This can be accomplished by setting the configured SecurityManager as a static member variable in SecurityUtils (via SecurityUtils.setSubjectManager). While static memory is not ideal, it is probably good enough for 90% of web applications, and can be a viable solution.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lhazlewood Les Hazlewood
                Reporter:
                lhazlewood Les Hazlewood
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: