I'm not familiar with a @requiredgroups, so I'm going to assume 
@RequiresRoles.  While I don't have any experience with the jsp tags, I 
suspect that you're going to want to look at the shiro:hasRole 
(http://shiro.apache.org/web.html#Web-The%7B%7BhasRole%7D%7Dtag) tag 
and those related to it.

-Jared

On Thu 01 Dec 2011 03:48:58 AM CST, Jamesb wrote:
> Thanks for the response Manoj,
>
> After a little reflection, I think I can pose my question another way....
>
> I'm using the @requiredgroups() annotations to specify required groups for
> individual classes.  I'm then using the PropertiesRealm to specify users and
> their groups, but not specifying in the properties config any individual
> permissions....I'm leaving that up to the class-level, group annotations.  
>
> Is there any other way apart from inspecting the class annotations to ask
> the realm (in this case the PropertiesRealm) if a user has access to a
> particular class when only group level annotations have been specified?...In
> particular, is there an argument that I can specify to the
> <shiro:hasPermission tag?
>
> Thanks,
>
> -James
>
> --
> View this message in context: 
> http://shiro-user.582556.n2.nabble.com/permission-names-when-specifying-permission-via-class-level-annotations-tp7047211p7049910.html
> Sent from the Shiro User mailing list archive at Nabble.com.


Reply via email to