-none- 2007-09-01 - By mnrz
Back 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:
| | @(protected) | @(protected)("authenticator") | class Authenticator { | | @(protected)("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:
| @(protected)("userManager") | @(protected) | 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@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|