What should the developer do to make the servlet access controlled using the default ACLs?
A developer creates a Sling Servlet. The Sling Servlet is bound to a path (/service/sling/sample).
Refer to the resulting code below.
What should the developer do to make the servlet access controlled using the default ACLs?
A . Use @SlingServletResourceTypes instead of @SlingServletPaths.
B . Modify @SlingServletPaths(value = {“/bin/sling/sample” }).
C . Add @SlingServletName(servletName = “AccessControlServlet”) annotation.
D . Add @SlingServletPrefix(value = “/apps”) annotation.
Answer: A
Latest AD0-E103 Dumps Valid Version with 92 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments