Oracle
1Z0-900 · Question #59
1Z0-900 Question #59: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-900 to reveal the answer and full explanation for question #59. The question stem and answer options stay visible for context.
Secure Java EE 7 Applications
Question
You want to allow one set of roles to POST to a resource and another set of roles to GET it. Which two configuration options should you use? (Choose two.)
Options
- Atwo separate @HttpMethodConstraints annotations and sets of roles
- Ba single @HttpMethodContstraint annotation and a map of method to roles
- Ctwo <web-resource-collection> with different <http-method> in the deployment descriptor
- Da single <web-resource-collection> with two <auth-constraint> with different <http-method> in
Unlock 1Z0-900 to see the answer
You've previewed enough free 1Z0-900 questions. Unlock 1Z0-900 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.
Topics
#Security Configuration#HTTP Method Authorization#Deployment Descriptor#RBAC