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

Support accessing isRemembered() & isAuthenticated() state during getAuthorizationInfo() (and probably methods like check*)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      As mentioned in http://shiro-user.582556.n2.nabble.com/How-to-check-for-remember-in-a-Realm-td7577897.html#a7577898
      currently Shiro has no supported way of accessing the remembered & authenticated state to support dynamic permissions.

      Please add this to the API.

      A limited workaround is possible, by calling SecurityUtils.getSubject(), however it doesn't work when the subject is not strictly thread-bound.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ceefour Hendy Irawan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: