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

Subject.getRoles() functionality

    XMLWordPrintableJSON

    Details

      Description

      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, public.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vines John Vines
            • Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated: