Oracle
1Z0-860 · Question #155
1Z0-860 Question #155: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-860 to reveal the answer and full explanation for question #155. The question stem and answer options stay visible for context.
Question
Given: 10.©Stateless 11. public void SecureBeanOl implements SecureOI { 23. @AllowRoles("ADMIN") 24. public void methodAO {} 10.©Stateless 11. public void SecureBean02 implements Secure02{ 23. @AllowRoles("administrator") 24. public void methodB0 {} Which deployer action permits a user authenticated as "John" to call both methodA on SecureBeanOl and methodB on SecureBean02?
Options
- AThe deployer maps both role "ADMIN" and role "administrator" to user "John".
- BThe deployer replaces "administrator" by "ADMIN" in the source code of SecureBean02 and maps
- CThe deployer overrides the method permission of SecureBean02. methodB in the ejb-
- DThe deployer defines a common role and maps role "ADMIN" and role "administrator" using security-
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.