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

Add To The Permissions Part Of The Documentation That permissionsLookupEnabled Must Be Set To True

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.1.0
    • None
    • Documentation
    • None

    Description

      I was upgrading a project from JSecurity version 0.9 to Shiro version 1.1.0.

      Permissions associated with roles were not being looked up when authenticating a subject. After researching why and posting a question on the forum I found out that in Shiro version 1.1.0 the programmer must set the value of permissionsLookupEnabled to true as its default is false.

      This information is not in the permissions section of the Shiro documentation (http://shiro.apache.org/permissions.html).

      The only place I was able to find information about setting permissionsLookupEnabled to true is in the JavaDoc for class JdbcRealm.

      Recommend you add more information about setting permissionsLookupEnabled to true in the Permissions section of the Shiro documentation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            phillips1021 Bruce Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: