Shiro
  1. Shiro
  2. SHIRO-230

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

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.1.0
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      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.

        Activity

        Bruce Phillips created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Bruce Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development