I think option 1 is the correct one because getCallerPrincipal and isCallerInRole methods are accessible by any session bean, not just stateful bean.
I think option 3 is not the correct option.
About Question enthuware.oce-ejbd.v6.2.491 :
Moderator: admin
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
-
- Site Admin
- Posts: 10385
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.491 :
1 is not correct because programmatic control is not required. You can use declarative also.
3 is a correct statement because it doesn't say "only" stateful session bean.
3 is a correct statement because it doesn't say "only" stateful session bean.
Who is online
Users browsing this forum: No registered users and 14 guests