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

DefaultSubjectDAO clears principals on subject logout

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      From mailing list http://shiro-user.582556.n2.nabble.com/session-listener-and-principals-td7441157.html
      On explicit logout DefaultSubjectDAO#removeFromSession(Subject) removes all principals before SessionListener#onStop() is called. However there are no particular reason for such behavior.
      This behavior breaks session listeners that rely on principals

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              avasilenko Alex Vasilenko
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: