-
1. Re: identity.hasPermission in JSF
lightguard Nov 8, 2011 12:35 PM (in response to slower)Post your entities and any configuration you're using to setup idm.
-
2. Re: identity.hasPermission in JSF
slower Nov 8, 2011 3:21 PM (in response to slower)I have copy-pasted entities from that source:
https://github.com/seam/security/tree/develop/examples/idmconsole/src/main/java/org/jboss/seam/security/examples/idmconsole/model
I have made no configuration except Maven dependency. Have I forgot something?
I have forgotten mention that anotation works well and throw exception when I try to call method and I'm not authorized to it. -
3. Re: identity.hasPermission in JSF
lightguard Nov 8, 2011 3:33 PM (in response to slower)I haven't done anything with the permission stuff yet, so I'm going to have to defer to Shane.
-
4. Re: identity.hasPermission in JSF
shane.bryzak Nov 8, 2011 3:41 PM (in response to slower)PersistentPermissionResolver hasn't been implemented in Seam 3, instead you need to provide your own permission resolver. Simply create your own implementation of PermissionResolver and implement the two methods.