shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hendy Irawan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SHIRO-393) Support accessing isRemembered() & isAuthenticated() state during getAuthorizationInfo() (and probably methods like check*)
Date Wed, 31 Oct 2012 17:05:12 GMT
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

Mime
View raw message