Oracle
1Z0-899 · Question #51
Given the annotation for MyServlet: @WebServlet{"/abc") @ServletSecurity (value=@HttpConstraint) public class Myservlet extends Httpservlet { Which two are true? (Choose two)
The correct answer is A. No protection of user data must be performed by the transport. E. Access is to be permitted independent of authentication state and identity. See the full explanation below for the reasoning.
Question
Given the annotation for MyServlet: @WebServlet{"/abc") @ServletSecurity (value=@HttpConstraint) public class Myservlet extends Httpservlet { Which two are true? (Choose two)
Options
- ANo protection of user data must be performed by the transport.
- BAll user data must be encrypted by the transport.
- CAccess is to be denied independent of authentication state and identity.
- DOnly authenticated users are to be permitted.
- EAccess is to be permitted independent of authentication state and identity.
How the community answered
(54 responses)- A80% (43)
- B4% (2)
- C11% (6)
- D6% (3)
Community Discussion
No community discussion yet for this question.