Oracle
1Z0-897 · Question #72
HTTP clients can provide authentication information to the server via the "Authorization" header in the HTTP request. Choose the alternative, if any, that would serve as the definition for a…
The correct answer is D. @GET @Path("/authInfo"). See the full explanation below for the reasoning.
Question
HTTP clients can provide authentication information to the server via the "Authorization" header in the HTTP request. Choose the alternative, if any, that would serve as the definition for a resource method that would allow a JAX-RS resource to obtain this authentication data (Choose one):
Options
- AIt is impossible for a JAX-RS resource to obtain this information, since low-level HTTP data is not
- B@GET @Path("/authInfo")
- C@GET @Path("/authInfo/{AUTHENTICATE}")
- D@GET @Path("/authInfo")
How the community answered
(44 responses)- A7% (3)
- B2% (1)
- C11% (5)
- D80% (35)
Community Discussion
No community discussion yet for this question.