Which java code snippet roles “MANAGER” and “EMPLOYEE” in a given application?

Which java code snippet roles “MANAGER” and “EMPLOYEE” in a given application?
A. @DeclareRoles({ “MANAGER”, “EMPLOYEE” })
public class MyServlet extends HttpServlet {}
B. @SecurityRoles({ “MANAGER”, “EMPLOYEE” })
public class MyServlet extends HttpServlet {}
C. @DeclareRoles(“MANAGER”)
@DeclareRoles(“EMPLOYEE”)
public class MyServlet extends HttpServlet {}
D. @DeclareRole(“MANAGER”)
@DeclareRole(“EMPLOYEE”)
public class MyServlet extends HttpServlet {}

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.