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.

        Issue Links

          Activity

          Les Hazlewood made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Les Hazlewood made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Les Hazlewood made changes -
          Link This issue relates to SHIRO-291 [ SHIRO-291 ]
          Les Hazlewood made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Les Hazlewood made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Les Hazlewood created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development