shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (SHIRO-492) Subject.getRoles() functionality
Date Sun, 28 Feb 2016 16:08:18 GMT


ASF GitHub Bot commented on SHIRO-492:

Github user asfgit closed the pull request at:

> Subject.getRoles() functionality
> --------------------------------
>                 Key: SHIRO-492
>                 URL:
>             Project: Shiro
>          Issue Type: Improvement
>          Components: Authorization (access control) 
>            Reporter: John Vines
> Currently shiro provides the ability to respond whether or not a user has a list of Authorizations.
However, while the realms have methods for getting all authorizations (protected), these are
not exposed in normal use to allow asking for all Roles. This should be exposed by adding
a call to Subject to getRoles, to complement it's existing hasRoles calls. This may require
making some of the calls around authorizations, like getAuthorizationInfo in AuthorizingRealm,

This message was sent by Atlassian JIRA

View raw message