[jboss-user] [JBoss Seam] - how to use @Roles?
do-not-reply at jboss.com
Sat Sep 1 09:05:57 EDT 2007
I've read something in Seam reference about @Roles which you can define many roles for an entity, a User stated as an example as follows:
| @Role(name="user", scope=ScopeType.CONVERSATION),
| @Role(name="currentUser", scope=ScopeType.SESSION)
it seems to me very useful but I can't comprehend its concepts and the benefits and also I don't know how to use? unfortunately I couldn't find any sample in which this feature is utilized.
can anyone explain this annotation and tell me how to use it?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080226#4080226
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080226
More information about the jboss-user