[ 
https://issues.apache.org/jira/browse/SHIRO-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979322#action_12979322
 ] 

Jared Bunting commented on SHIRO-230:
-------------------------------------

Just wanted to point out that this appears to be a feature/property of the 
JdbcRealm...not shiro in general or the security manager.

> Add To The Permissions Part Of The Documentation That 
> permissionsLookupEnabled Must Be Set To True
> --------------------------------------------------------------------------------------------------
>
>                 Key: SHIRO-230
>                 URL: https://issues.apache.org/jira/browse/SHIRO-230
>             Project: Shiro
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 1.1.0
>            Reporter: Bruce Phillips
>            Priority: Minor
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to