You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Hendy Irawan (JIRA)" <ji...@apache.org> on 2012/10/31 18:05:12 UTC

[jira] [Created] (SHIRO-393) Support accessing isRemembered() & isAuthenticated() state during getAuthorizationInfo() (and probably methods like check*)

Hendy Irawan created SHIRO-393:
----------------------------------

             Summary: Support accessing isRemembered() & isAuthenticated() state during getAuthorizationInfo() (and probably methods like check*)
                 Key: SHIRO-393
                 URL: https://issues.apache.org/jira/browse/SHIRO-393
             Project: Shiro
          Issue Type: Improvement
          Components: Authorization (access control) 
    Affects Versions: 1.2.1
            Reporter: Hendy Irawan


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira