Oracle
1Z0-860 · Question #259
1Z0-860 Question #259: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #259. The question stem and answer options stay visible for context.
Question
A developer implements a session bean which acts as a session facade for an application. This means that clients will only see this session bean's interface which offers the application interface. There are three distinct roles known at development time"user", "admin", and "guest". The majority of the methods will be used by role "user". All methods must have role permissions active and roles may be added or changed in the future. Which two scenarios are correct? (Choose two.)
Options
- AThe developer annotates the bean class with @PermitAII and annotates the methods used by role
- BThe developer annotates the bean class with @DenyAII and annotates the methods used by role "user",
- CThe developer defines individual method permissions for the methods used by roles "user", "guest", and
- DThe developer annotates the bean class with @RolesAllowed("user") and annotates the methods used
- EThe developer defines a method permission with method name "*" and role "user" and adds individual
Unlock 1Z0-860 to see the answer
You've previewed enough free 1Z0-860 questions. Unlock 1Z0-860 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.