ok, I know about it. Assume that we defined those roles, now, in our session beans how we can use it?
for example, I have an Authenticator Session bean in which a User instance variable is defined as follows: | | @Stateless | @Name("authenticator") | class Authenticator { | | @Out("currentUser", scope=ScopeType.SESSION) | private User user; | | // rest of the codes.... | } | | and in another bean in which I provide a facility to manage other users for administrators as follows: | @Name("userManager") | @Stateful | class UsreManagerAction implements UserManager { | | private User user; | | //rest of the codes.... | } | I want to know how do I use those roles in such these beans? thanks again how can I use View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080238#4080238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080238 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user