No, out-of-the-box, there's no way to use hasPermission without using
RuleBasedIdentity.
If you want, though, you can extend Identity and override the hasPermission() method to do
whatever you want it to do.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074149#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...